Replies: 1
Hi – thanks for your plugin
I’m getting PHP error Notices
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/xxx/public_html/wp-includes/functions.php on line 5313
this is likely the same issue encountered and resolved here:
https://wordpress.org/support/topic/wp-5-7-notice-wp_scriptslocalize-was-called-incorrectly/
Regards,