Uncaught SyntaxError
-
Hi, Install the plugin on my test site, with the following configuration:
Optimize HTML Code? – enable
Keep HTML comments? – enableOptimize JavaScript Code? – enable
Force JavaScript in <head>? – disable
Also aggregate inline JS? – disable
Exclude scripts from Autoptimize – seal.js,js/jquery/jquery.js,/wp-includes/js/jquery/jquery.js
Add try-catch wrapping? -disableThe site does not load and I have this error:
Uncaught TypeError: $ is not a function
at HTMLDocument.<anonymous> (autoptimize_2e4c88e0c733ed70658922a1e1392cfd.js:21)
at j (autoptimize_2e4c88e0c733ed70658922a1e1392cfd.js:3)
at Object.fireWith [as resolveWith] (autoptimize_2e4c88e0c733ed70658922a1e1392cfd.js:3)
at Function.ready (autoptimize_2e4c88e0c733ed70658922a1e1392cfd.js:3)
at HTMLDocument.J (autoptimize_2e4c88e0c733ed70658922a1e1392cfd.js:3)
autoptimize_2e4c88e0c733ed70658922a1e1392cfd.js:21 Uncaught TypeError: $ is not a function
at autoptimize_2e4c88e0c733ed70658922a1e1392cfd.js:21
at dispatch (autoptimize_2e4c88e0c733ed70658922a1e1392cfd.js:4)
at r.handle (autoptimize_2e4c88e0c733ed70658922a1e1392cfd.js:4)Can you help me please?
- The topic ‘Uncaught SyntaxError’ is closed to new replies.