hard to say; it looks like you’re also running mod_pagespeed which is also trying to optimize the JavaScript. can you (at least temporarily) disable pagespeed so we can see what is happening without it?
frank
I’ve deactivated all server side optimization but Stack cache, is in-built plugin.
OK, that seems to have fixed the issue (I don’t see Uncaught ReferenceError: jQuery is not defined any more?
I just reactivated optimization and cache, and now two errors appears:
Uncaught ReferenceError: jQuery is not defined at autoptimize_single_6968716a23506e4ea1461997dcd27531.php:1:9899
Uncaught ReferenceError: astraAddon is not defined at accountMenuToggle (autoptimize_single_6968716a23506e4ea1461997dcd27531.php:1:3277) at autoptimize_single_6968716a23506e4ea1461997dcd27531.php:1:4382
-
This reply was modified 2 years, 3 months ago by
yoteman.
the root cause here is that you have 2 optimization solutions that are both trying to optimize the javascript, this indeed can lead to such errors yoteman, I would suggest to use only one such solution (so having JS optimized by Autoptimize OR by mod_pagespeed).
Page caching obviously you can (and should) keep active π
Yes, you’re right.
Thanks for the support π