Replies: 5
Hello,
Plugins-theme and wordpress are up-to-date to the latest versions.
After i updated the autoptimize to the latest version i got the errors bellow in teh console:
1)Uncaught SyntaxError: Unexpected token ‘<‘
That this is inside the folder of cache /autoptimize/js/autoptimize_45e0f457….
2)(index):566 Uncaught TypeError: Cannot read property ‘setDefaults’ of undefined
at HTMLDocument.<anonymous> ((index):566)
at i (jquery.js?ver=1.12.4-wp:2)
at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4-wp:2)
at Function.ready (jquery.js?ver=1.12.4-wp:2)
at HTMLDocument.J (jquery.js?ver=1.12.4-wp:2)
3)Uncaught TypeError: f.hoverintent is not a function
at HTMLDocument.<anonymous> (admin-bar.min.js?ver=5.3.2:1)
4)Uncaught TypeError: Cannot read property ‘settings’ of undefined
at 53f2b58e335a3f2892a4cc0c0.js:49
at 53f2b58e335a3f2892a4cc0c0.js:63
Before the update i was using the option : “Aggregate JS-files”. After the update i got the errors above so i had to disable this. If this is disabled all work ok but GT-metrix complains to defer-parsing of JS.
I have also excluded the jquery from optimization but still i get the errors above.
Any thoughts why this occurs now?
In the above link is the staging.