Support » Plugins and Hacks » Autoptimize » jQuery is not defined

  • Resolved ananotheruser



    I get this error and I already tried what is said in the FAQ (js/jquery/jquery.js exclusion and tick”also aggregate inline JS”) but it doesn’t work, what should I do ?


    • This topic was modified 2 weeks, 3 days ago by  ananotheruser.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Frank Goossens


    hard (impossible) to say without seeing what is happening @anaotheruser, can you share your URL?


    Hi Frank,

    Thank you for your quick reply. The URL is:


    Plugin Author Frank Goossens


    avond desiree ๐Ÿ™‚

    1. Can you copy/paste the contents of the “Exclude scripts from Autoptimize:” field here?
    2. It’s better not to aggregate inline JS in general ๐Ÿ™‚

    groeten uit Belgiรซ,

    Here is my website. ๐Ÿ™‚

    1. seal.js, js/jquery/jquery.js
    2. It’s not actually ticked

    These both options were already set like this by default. ๐Ÿ™‚

    Full error from Chrom Web Dev Tools :

    Uncaught ReferenceError: jQuery is not defined
    at /wp-content/cache/autoptimize/js/autoptimize_044ab9b885f644eff8a157738fe49753.js

    • This reply was modified 2 weeks, 3 days ago by  ananotheruser.
    Plugin Author Frank Goossens


    ah, confusion galore ๐Ÿ™‚

    you have the same error with AO disabled (add ?ao_noptimize=1 to the URL), so this is not due to autoptimize.

    bon weekend,

    You’re right, I’ve the same error if I deactivate your plugin.
    Pardon me. And thank you for your fast and efficient support ! ๐Ÿ™‚

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.