error at the top of page
-
I updated WP to 5.9 and this plugin and now I get an error on each side of my product:
Notice: WP_Scripts::localize was called incorrectly. The $l10n parameter must be an array. To pass arbitrary data to scripts, use the wp_add_inline_script() function instead. Please see Debugging in WordPress for more information. (This message was added in version 5.7.0.) in /home/gs0l8hnzg1vt/public_html/wp-includes/functions.php on line 5768
Example:
https://tools4car.co.uk/product/autocom2020/
I just checked and the the plugin works well but this error message worries me.
Is there a fix for it?PS. I use woocomerce and I’ve been using your plugin for over 1 year and I have never had any issue with it before.
- The topic ‘error at the top of page’ is closed to new replies.