You seem to be using a caching plugin to minify the output.
Can you disable it for a second and see if that makes a difference?
Any word on this? My client has had no dealer information display since Thursday.
You didn’t see my answer?
It won’t break by itself, so something must have changed. Any plugin updates, settings you changed?
Sorry, I replied to this on my phone over the weekend and it’s not here.
When the caching plugin is disabled and CDN turned off the problem is still there, no changes.
It was working after the last round of updates to plugins (last Monday Aug. 27) but not working when checked by the client on Thursday. So no changes leading up to this problem, no different settings, etc.
Can you leave the auto optimize plugin off for a while so I can see the HTML output. Maybe the scripts where cached somewhere after the last update. Does it also not work in private mode in your browser.
If I check the browser console, then it shows ‘ReferenceError: _ is not defined[Learn More]’. This means that the underscore.js library isn’t loaded, which the store locator does try to load and need to function.
After you disable the autoptimize plugin, does underscore.js show up in the HTML source ( CTRL + U ).
pro-tip for future reference; you can disable Autoptimize on a per-request basis by adding ?ao_noptimize=1 to the URL.
hope this helps debugging,
frank (ao dev)
Thanks – I’ll do some testing on Monday and get back to you.
When I turn off AO, the store locator displays normally and underscore.js is there in the source. When I turn it on, underscore.js is gone and so is the store locator. I tried excluding underscore.js, that didn’t help.
But it’s actually underscore.min.js and excluding that in AO *does* fix the problem. Thank you!