• Resolved JasonBC

    (@jasonbc)


    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

Viewing 1 replies (of 1 total)
  • Turn off debugging on production, it’s a bad habit.

    This is a notification, not an error and it will be fixed soon.

Viewing 1 replies (of 1 total)
  • The topic ‘php error on WP 5.7’ is closed to new replies.