• Resolved dryan1144

    (@dryan1144)


    Our logs are filled with PHP notices that have been tracked down to incorrect usage of wp_localize_script – specifically in one or more of the localization calls from handl_utm_grabber_enqueue in handl-utm-grabber-v3.php. Can you please track down the issue and provide a fix?

    PHP Notice: Function 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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Haktan Suren

    (@haktansuren)

    Hi @dryan1144 yes, I just passed to our V3 team, they should fix in the next release as this is still an issue as of last version.

    Can you please confirm the version you have? and if it is not latest (3.1.12), pplease upgrade and test there too

    Plugin Author Haktan Suren

    (@haktansuren)

    Our team has confirmed, this should not be a concerned as of our latest version. Please upgrade the plugin to the latest and let me know @dryan1144

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘wp_localize_script used incorrectly’ is closed to new replies.