Hey,
Can you do the following and write back once done?
https://wordpress.org/plugins/autoptimize/
and go to the section:
“How does “exclude from optimizing” work?”
and exclude the plugin files (I think) like so:
wp-content/plugins/multi-column-tag-map/*
I see what is happening but I’m having issues replicating it on my end.
no need for the *, just wp-content/plugins/multi-column-tag-map/ is OK 🙂
frank (ao dev)
Thanks for the reply. I added the exclusion but it didn’t change. I also turned off autoptimize and still no difference. So it seems the issue is not related. Any other suggestions?
Here are the errors on this page in case this helps:
2mctagmap.js?mctm_ver=15.0.2&ver=1:92 Uncaught ReferenceError: bp4 is not defined
at myfunction (mctagmap.js?mctm_ver=15.0.2&ver=1:92)
at dispatch (jquery.js?ver=1.12.4:3)
at r.handle (jquery.js?ver=1.12.4:3)
at Object.trigger (jquery.js?ver=1.12.4:3)
at Object.a.event.trigger (jquery-migrate.min.js?ver=1.4.1:2)
at jquery.js?ver=1.12.4:3
at Function.each (jquery.js?ver=1.12.4:2)
at a.fn.init.each (jquery.js?ver=1.12.4:2)
at a.fn.init.trigger (jquery.js?ver=1.12.4:3)
at a.fn.init.n.fn.(/accessory-finder/anonymous function) [as resize] (https://www.mixware.net/wp-includes/js/jquery/jquery.js?ver=1.12.4:4:16320)
mctagmap.js?mctm_ver=15.0.2&ver=1:92 Uncaught ReferenceError: bp4 is not defined
at myfunction (mctagmap.js?mctm_ver=15.0.2&ver=1:92)
at dispatch (jquery.js?ver=1.12.4:3)
at r.handle (jquery.js?ver=1.12.4:3)
Looking at your site now, the issue is “fixed” by not compressing the mctagmap.js. It is due to that ‘bp4’ issue. I’ll get the compression plugin you are using to try to reproduce locally and actually fix the issue.
@mixware,
I installed autoptimize on my testing site and I couldn’t reproduce the error after it minified the JS. So I guess just keep on excluding the script from being minified. It’s not very large anyways.
The issue is clearly not related to Autoptimize. I’ve turned off every single plugin on my site, with the exception of MC Tag Map, Woocommerce, and 2 plugins that are required by my theme: Redux Frameworks and XStore Core. The problem still persists. I’ve also turned off Cloudflare and still have the issue. What else can I do?