Function WP_Scripts::localize was called incorrectly messge
-
Hi:
I have upgraded your plugin AMP for WP – Accelerated Mobile Pages from 1.0.83 to 1.0.84 (WordPress 6.2)
Since then, I have received the following message:
Notice: Function 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 /hermes/bosnacweb04/bosnacweb04bd/b2881/nf.pdm1/public_html/BlogPDM/wp-includes/functions.php on line 5865
I had to deactivate your plugin in order to avoid that message.
I appreciate your help to solve this problem
Regards,
Luis
- The topic ‘Function WP_Scripts::localize was called incorrectly messge’ is closed to new replies.