I used Toolset Maps on my travel blog for over a year and it worked just fine. I now changed the subscription to a different account and had to generate a new API key. After that has been updated, the plugins are updating fine and the Maps settings API says 'Google API seems to be configured properly.' The maps work on the back end just fine - when I create a post, I can add a location to the Map custom field and it finds it on the map.
However, the map on my blog front end doesn't display at all and the console shows the error: Uncaught ReferenceError: google is not defined.
I read this post https://toolset.com/forums/topic/updated-site-and-now-get-uncaught-referenceerror-google-is-not-defined/ and followed the instructions, so my WP is up to date and so is my theme - evolve by Theme4Press. This didn't solve the problem.
However, when I change the theme to WP 2021, the map works. But naturally, I don't want to use that theme. What do I need to do to make it work with the evolve theme?
Hello and thank you for contacting Toolset support.
It seems that the evolve theme is also adding a Google library that is conflicting with Toolset Maps's one. Usually, themes or plugins will offer a setting to disable the loading of such libraries.
Please note that the library can be related to another Google's service than maps. For example, we have encountered similar errors before with the Google translation libraries.
If you are unsure where to check, allow me temporary access to your website and I'll check it further. Your next reply will be private to let you share credentials safely. ** Make a database backup before sharing credentials. **
Please let me know where I can see this map on the front end.
I assume that you are talking about the homepage, right? The issue is not reproduced for me. Check this screenshot hidden link
Can you tell me where I can see the issue? Or maybe share a screenshot or a screencast that demonstrates the issue? Am I missing something?
Huh, you're right! I don't know what happened, but it's working now. Some great support magic, thank you!