• I get this error thrown on the backend with wp 5.7:

    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…public_html/wp-includes/functions.php on line 5313 which I traced down to all-in-one-calendar plugin.

    And this causes also that the site is partially crashing, means only side bars are visible but the pages don’t show up.

    Any solution or fix on the way already ? Saw this error with other plugins as well after upgrade to wp 5.7.

    • This topic was modified 3 years, 8 months ago by Venus10.
  • The topic ‘WP_Scripts::localize was called incorrectly.’ is closed to new replies.