Error when Activating Plugn
-
In the dashboard when activating Post SMTP plugin (error goes away if I deactivate).
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 /var/www/vhosts/newlife.missionhamilton.org/httpdocs/wp-includes/functions.php on line 5313
And the server log:
62804#0: *197015 FastCGI sent in stderr: “PHP message: PHP Notice: 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 /var/www/vhosts/newlife.missionhamilton.org/httpdocs/wp-includes/functions.php on line 5313PHP message: PHP Notice: 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.The page I need help with: [log in to see the link]
- The topic ‘Error when Activating Plugn’ is closed to new replies.