jQuery is not defined after updating to WordPress 5.6
-
Hello,
One of my sites automatically updated to WordPress 5.6, and immediately got destroyed.
In the browser console multiple “jQuery is not defined” errors appeared.After some tests, I deactivated Autoptimize, and the error disappeared and everything was fine.
I managed to have Autoptimize enabled by unchecking the Aggregate JS-files option.
The exact same thing happened to all my sites (over 20 sites with various themes and plugins), and the solution of unchecking Aggregate JS-files option worked to all of them.
Can it be that the new WordPress changed something in the order of the scripts loading and that messes up with the aggregation of the JS files?
- The topic ‘jQuery is not defined after updating to WordPress 5.6’ is closed to new replies.