Hi there,
I’m trying to develop a new website with Theme X and Cornerstone. It all worked fine, until I updated to the new version.
Now I get errors on multiple pages.
The first error I get on a page with a classic slider element is:
cs-body.js?ver=2.1.3:2212 Uncaught TypeError: jQuery.easing[jQuery.easing.def] is not a function
at Object.swing (cs-body.js?ver=2.1.3:2212)
at init.run (jquery.js?ver=1.12.4:4)
at i (jquery.js?ver=1.12.4:4)
at n.fx.tick (jquery.js?ver=1.12.4:4)
The pages crashes in a way that I can’t edit or save the page. It fires about 200000 errors until the server crashes with a 500 error.
I narrowed the error down to the classic slider element. If I remove that element it doesn’t give me the error.
A temporary workaround is to out-comment this part of the code in cs-body.js:
return jQuery.easing[jQuery.easing.def](t, e, n, i, o)
The second error I get on all pages:
Uncaught TypeError: this.dropzones[b].toggle is not a function
at n.refresh (media-views.min.js?ver=4.8.2:4)
at n.containerDragover (media-views.min.js?ver=4.8.2:4)
at HTMLDocument.dispatch (jquery.js?ver=1.12.4:3)
at HTMLDocument.r.handle (jquery.js?ver=1.12.4:3)
This error fires a couple of hundred times on the backend on some pages.
Another error I see on all pages:
Template compile error Error: SCRIPT
tags are not allowed in HTMLBars templates (on line 1)
at validateStartTag (cs-vendor.js:131056)
at Parser.finishStartTag (cs-vendor.js:130916)
at Parser.finishTag (cs-vendor.js:130900)
at EventedTokenizer.afterAttributeValueQuoted (cs-vendor.js:133047)
at EventedTokenizer.tokenizePart (cs-vendor.js:132689)
at Parser.ContentStatement (cs-vendor.js:130697)
at Parser.acceptNode (cs-vendor.js:130543)
at Parser.Program (cs-vendor.js:130601)
at Parser.acceptNode (cs-vendor.js:130543)
at Object.preprocess (cs-vendor.js:130502)
I’m not sure where all these errors are coming from. If it is a conflict with something else, or corrupt files. I got these errors after updating to 2.1.x
Do you guys know where all these errors are coming from?