WP_Scripts::localize was called incorrectly in 5.7.0
-
This plugin is causing errors when wp_debug is on. Error
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
To determine which plugin was causing issues I swapped to WordPress 2020 theme, deactivated all plugins and activated one by one. This is the plugin that is causing issues. Please update
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘WP_Scripts::localize was called incorrectly in 5.7.0’ is closed to new replies.