Thousands of errors in debug log
-
It has taken me some time to figure out where literally thousands of errors are showing up in the debug log on a website. They disappear when I deactivate Geo My WP plugin.
Here is the error….
[15-Feb-2022 20:09:20 UTC] PHP Notice: WP_Scripts::localize was called incorrectly. The$l10n
parameter must be an array. To pass arbitrary data to scripts, use thewp_add_inline_script()
function instead. Please see Debugging in WordPress for more information. (This message was added in version 5.7.0.) in /home/xxx123/public_html/wp-includes/functions.php on line 5768Because I have the plugin loaded in a side panel widget, in one log that was for 3 weeks I had over 10,000 entries of this error.
Plugin version is 3.7.2
Wordpress Version is 5.9
- The topic ‘Thousands of errors in debug log’ is closed to new replies.