• Resolved elis85

    (@elis85)


    ?Hi, using POPUP MAKER on a site with Polylang and getting the next js error message in the console on the second language: Uncaught RangeError: Invalid array length.
    ?The main language is working fine.
    ?any ideas what might be the problem?
    ?Thanks for the help

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Daniel Iser

    (@danieliser)

    @elis85 – You are the second to report something like this. My first guess is that their query filters are mucking up the array of popups, but the other possibility is that your second language is non utf8 compatible and json_encode is eating that array due to those non-utf8 characters, which based on your like is likely the issue.

    That said if that is the case its more than likely in WP core itself. We use wp_localize_script to pass that value to the front end. If WP core isn’t sanitizing correctly we need to get a patch into core.

    Plugin Author Daniel Iser

    (@danieliser)

    PS didn’t see that error when I visited the site just now.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Popup maker and polylang JS error’ is closed to new replies.