ERROR: functions.php on line 5313 - by ctcempire

This topic has 2 replies, 2 voices, and was last updated 2 years, 12 months ago ago by Olga Barlow

  • Avatar: ctcempire
    ctcempire
    Participant
    April 21, 2021 at 14:42

    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/wp-includes/functions.php on line 5313

    Please, contact administrator
    for this information.
    1 Answer
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    April 21, 2021 at 16:17

    Hello,

    It’s not the error, it’s notice. Read more about difference https://www.ostraining.com/blog/wordpress/warnings/
    This notice comes from Massive Addons for WPBakery Page Builder plugin. We’ll report plugin author about this and ask them to fix this notice in next plugin upate. Meanwhile, disable WP debug and ignore this message till the next plugin update.

    Regards

  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.