• Resolved Pexle Chris

    (@pexlechris)


    In the Woody Snippets I see this message.

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

    Why? Is there any quick fix?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Temyk

    (@webtemyk)

    Hello.

    This does not affect the plugin in any way, just a Notice. You can disable the display of errors and warnings.
    We’ll fix it in the next update.

    Thread Starter Pexle Chris

    (@pexlechris)

    ok, but can I add a @ in the code so not to see it?

    (Thank you for your great work)

    Plugin Support Temyk

    (@webtemyk)

    no, it won’t work that way.

    If you want to track error messages, enable the WP_DEBUG_LOG constant

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error in snippets page’ is closed to new replies.