Support » Plugin: Scripts To Footer » Defer option is causing “undefined” error

  • Resolved amodoke


    The option you have set to ‘defer’ js files is causing “jquery is undefined” error for some of my inline scripts.

    How to undo it?

    When I deactivate your plugin, and the defer (and undefined error) vanishes. So it is due to your plugin.

    I have kept jquery in the head.
    I have checked, it IS loading before any other script, but since it’s deferred, my inline scripts are giving the “undefined” error.

    So can you help please? I otherwise like your plugin, very useful to increase page speed.

Viewing 1 replies (of 1 total)
  • amodoke


    Problem solved, thanks man, it was wp-rocket that was deferring the script. 🙂

Viewing 1 replies (of 1 total)
  • The topic ‘Defer option is causing “undefined” error’ is closed to new replies.