Function WP_Scripts::localize was called incorrectly.
-
Now i am getting the below error in my wordpress dashboard, Can you please help me how to fix this?
Notice: Function 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/customer/www/healtholine.com/public_html/wp-includes/functions.php on line 5865The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Function WP_Scripts::localize was called incorrectly.’ is closed to new replies.