• Resolved florentmerlat

    (@florentmerlat)


    Hi,

    I have this JS error that I cannot handle in the admin settings :
    window._nslDOMReady is not a function

    Could you tell me what I could do, or if something needs to be fixed ?

    Thank you

Viewing 1 replies (of 1 total)
  • Ramona

    (@nextend_ramona)

    Hi @florentmerlat

    Do you see this error on the backend (at your admin area) or on your frontend (what your visitors see)?

    If it’s a frontend error, do you use any kind of caching/optimization plugin on your site?

    Usually these plugins disable themselves when you put a query string to the URL, so you could try to visit the page like this:
    https://yoursite.com/?test=1
    and see if the error is present like that.

    If all is well, probably the optimization plugin tries to modify the JavaScript code loading order and that causes the issue.

    We’ve seen this error caused by WP Rocket’s “Delay JavaScript execution” option. If you’d have WP Rocket, you could try to go to WordPress > Settings > WP Rocket > File Optimization and there should be an exclude option below the Deleay JavaScript execution option. You could try excluding our codes by writing the following to a new line:
    _nslDOMReady
    and that should solve the problem.

Viewing 1 replies (of 1 total)
  • The topic ‘window._nslDOMReady is not a function’ is closed to new replies.