Home › Forums › Calendar Products › Events Calendar PRO › Google Maps stopped working with the update.
- This topic has 5 replies, 2 voices, and was last updated 7 years, 7 months ago by
thesydneylodge.
-
AuthorPosts
-
September 5, 2018 at 9:52 am #1614346
thesydneylodge
ParticipantHi
I updated the Event Calendar PRO and the Google Map stopped working.
I recreated the API and used the new one, but still the same error.
There seems to be a number of Private Support Tickets created on the same issue, but are no help to us as we can’t read them.
Please provide info on how to fix this.Thank you.
September 6, 2018 at 11:38 am #1615502Victor
MemberHi There!
Thanks for getting in touch with us!
Let me help you with that issue. Having a closer inspection to your site, I can see the error is showing up in the console due to embedding the Google Maps Javascript API multiple times. This could be due to your theme or another plugin adding the API as well.
We have a guide on how to troubleshoot Google Maps issues > https://theeventscalendar.com/knowledgebase/troubleshooting-google-maps/. Under the Testing for Conflicts section, you will find a snippet I’d recommend you try and see if it resolves the issue.
Just in case, the snippet is the one below and you should paste it into your theme’s functions.php file:
As a reference, let me share the following guide about best practices when implementing custom code snippets > https://theeventscalendar.com/knowledgebase/implementing-custom-code-snippets/
Please try it out and let us know if it works for you.
Thanks,
VictorSeptember 6, 2018 at 6:02 pm #1615850thesydneylodge
ParticipantHi Victor.
Thank you for your instructions.
I have copied and pasted the code to the theme’s functions.php.
Now the map is totally grayed out, not even any error message appears.I have then tried removing the added code in hopes that the multiple APIs previously registered have been removed, and then re-registered my API from the API tab of Events setting.
Now it is back to how it was, showing the Map with API Error.
What can I try now? I need to fix this ASAP, as this site is to be presented on Monday our time (in Australia).
Thanks again.
September 7, 2018 at 5:35 am #1616071Victor
MemberThis reply is private.
September 7, 2018 at 10:08 pm #1616724thesydneylodge
ParticipantHi Victor
Thank you very much for your reply.
It seems that everyone is updating the plugins to include Google Map API now.
When I updated the Event Calendar PRO, I also updated some other plug-ins.
Some of them now include the GMap API field, which I totally did not expect (those plug-ins do not usually engage any map at all).And it appears that since the API field on one of the plug-ins did not contain a Key, Google rejected the use of the GMap, even in the Event Calendar Map view.
I did disable all plug ins except for the Event Canlendar & PRO, and switched my theme to 2017 before contacting you, and it is strange that the problem still persisted then… But anyway, glad this is now fixed.
Thank you very much for your support.
Have a great weekend.September 10, 2018 at 6:06 am #1617459Victor
MemberHi!
Great to hear everything is working fine now! Thanks for following up to let us know 🙂
I’ll close this thread now, but feel free to open a new topic if anything comes up and we’ll be happy to help.
Best,
Victor -
AuthorPosts
- The topic ‘Google Maps stopped working with the update.’ is closed to new replies.
