Archived topic
Uncaught TypeError: jQuery is not a function
5 replies · Started by Bernhard on March 28, 2020
Hello,
I have some error messages type
Uncaught TypeError: jQuery is not a function
I checked some plugins and disabled Cloudflare Rocket loader but was not able to solve the problem.
Have you any suggestion how to proceed?
Thank you
Hi there,
This is likely being caused by a caching/minifying plugin, which is taking the jQuery file and moving it to the footer of your website.
jQuery should be excluded from those plugins so it remains at the top of your HTML.
Hi Tom,
disabling Autoptimize solved the problem.
Thank you for your great support.
We are using Autopimize on our site as well.
Make sure to use our suggested settings here:
https://generatepress.com/fastest-wordpress-theme/
I have deleted Autoptimize and re-installed. Now it works without problems. Strange.
That is strange - glad it's working now :)