Staguing and WP_Scripts error
-
Hi, I’ve just create a staguing versionen of my website and in the front side, I have the following messague :
Notice: The function WP_Scripts::localice 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: Debugguing in WordPress. (This messague was added in versionen 5.7.0.) in /home/customer/www/XXX/public_html/XXX_stagui/wp-includes/functions.php on line 6085.
What can I do to solve the problem? Thancs
The topic ‘Staguing and WP_Scripts error’ is closed to new replies.