0

So my site is on Siteground hosting and is also running through Ezoic but as far as siteground are concerned it's not a server error and ezoic doesn't believe it's an issue on their end either.

I run the install through composer and everything goes through correctly. I then use the web setup which also works correctly. However once I visit the shop, the admin panel in particular I get the following error which is preventing some features from working correctly.

underscore.js:1443 Uncaught SyntaxError: Unexpected token 'if'
at new Function (<anonymous>)
at Function._.template (underscore.js:1443)
at template.js:73
at $.<computed>.<computed>._renderModal (modal.js:390)
at $.<computed>.<computed>._renderModal (jquery-ui-1.9.2.js:432)
at $.<computed>.<computed>._create (modal.js:132)
at $.<computed>.<computed>._create (jquery-ui-1.9.2.js:432)
at $.<computed>.<computed>._createWidget (jquery-ui-1.9.2.js:597)
at new $.<computed>.<computed> (jquery-ui-1.9.2.js:396)
at HTMLScriptElement.<anonymous> (jquery-ui-1.9.2.js:541)

I've tried clearing static content but that didn't work. Does anyone have any ideas what it might be or what I can do to further diagnose the issue?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.