• Resolved smegee

    (@smegee)


    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.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Darshana

    (@darshanaw)

    Hi @smegee,

    Thanks for reaching out. Do you have WPML plugin installed on your site? Your issue seems to be related to that plugin (see).

    I hope this helps.

    Thanks!

    Plugin Support Darshana

    (@darshanaw)

    Hi @smegee – We haven’t heard from you in about a while, so I’m going to go ahead and mark this ticket resolved. If you still have questions, though, please feel welcome to continue the conversation.

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

The topic ‘The $l10n parameter must be an array.’ is closed to new replies.