Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Sometimes “jQuery is not defined”

$
0
0

Replies: 0

Hi there,

I have the JS Minify settings as shown here: https://i.gyazo.com/f5f4fd500810c1d07974a200ac8ad5b9.png

Mostly it works fine but sometimes (maybe every 20th page load), I get a console error “Uncaught ReferenceError: jQuery is not defined”. I don’t see a specific pattern in when the error comes but it looks like this: https://i.gyazo.com/4c4bc8c5b3d23128c423966a8d3e8f16.png

I have tried some different options with defer and async and that stuff but it didn’t help. If I completely switch off JS Minify it works fine, but I would like to avoid that.

How can I get rid of the error?

Best regards,
Peter B. Stidsen


Viewing all articles
Browse latest Browse all 59525

Trending Articles