• Help! I’ve been getting this error message on the site and the site randomly stops loading:

    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 /home/customer/www/prhospice.org/public_html/wp-includes/functions.php on line 5535

    I’m hosted on Siteground. I added cloudflare because I thought it would help by using “always up” function. still not helping. I see similar error messages with this theme have cropped up recently but not exactly the same as the above. Any help much appreciated – this is driving me bonkers!

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter melanyh

    (@melanyh)

    Also just go this error when switching back to Panoramic on a staging site after testing with 2021 theme:

    home/customer/www/staging4.prhospice.org/public_html/wp-admin/includes/theme.php on line 215

Viewing 1 replies (of 1 total)
  • The topic ‘ERROR: WP_Scripts::localize was called incorrectly.’ is closed to new replies.