Staging and WP_Scripts error
-
Hi, I’ve just create a staging version of my website and in the front side, I have the following message :
Notice: The function WP_Scripts::localize was called incorrectly. The parameter $l10n must be an array. To pass arbitrary data to scripts, use the wp_add_inline_script() function instead.
More information: Debugging in WordPress. (This message was added in version 5.7.0.) in /home/customer/www/XXX/public_html/XXX_stagi/wp-includes/functions.php on line 6085.
What can I do to solve the problem? Thanks
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.