gantry5 icon indicating copy to clipboard operation
gantry5 copied to clipboard

Console error Gantry5 assets

Open Wicko-Design opened this issue 3 years ago • 3 comments

Spotted a error showing in Console. Error in file:/media/gantry5/assets/js/main.js; Error:"WebKit|Moz|MS|O".match(...) is null

Running Joomla: 3.10.5 Gantry 5.5.9

Spotted this on my contacted page

I do use JCHoptimize but have cleared the cache here

Wicko-Design avatar Feb 09 '22 12:02 Wicko-Design

There are many errors and they all come from jch_optmize. Turn JCH_optimize off and then clear cache. Then look at the console to determine if there are any real error messages.

marktaylor46 avatar Feb 09 '22 13:02 marktaylor46

Hi Mark JCH_optimize is turned off and the error is still there.

regards

David

Wicko-Design avatar Feb 09 '22 15:02 Wicko-Design

Ok prior to that error you are getting mootools errors. What version of Joomla is that?

It's likely caused by a third-party extension - you do appear to have quite a few so try disablig those. (e.g. K2, zhgooglemap, acymailing, socialconnect, cookiepolicy, etc). Basically, you've got to narrow it down to find the cause of the issue.

Also, You appear to be using rokbox - I wouldn't on a Gantry 5 site - use lightcase instead. Rokbox uses mootools.

I hope that helps.

marktaylor46 avatar Feb 09 '22 15:02 marktaylor46