-
AuthorPosts
-
January 5, 2024 at 6:28 am #1429326
The map view in the All-in-one event calendar shows a “This page can’t load Google Maps correctly.” error message. However, when I create a new post or page and use the Google Map plugin/option, the map views fine.
My WP version, Enfold theme, and plugins are all current. So, I’m wondering what the problem might be.Thanks in advance
January 6, 2024 at 10:55 am #1429388Hey laptophobo,
I’m seeing this error in the browser console: https://developers.google.com/maps/documentation/javascript/error-messages#invalid-key-map-error. Could you try following the instructions there to see if that helps?
Best regards,
RikardJanuary 6, 2024 at 11:03 am #1429390Hi Rikard,
From what that “InvalidKeyMapError” says is that the valid API key couldn’t be found. Then when I click the “get started” button, it brings me to the Google Quick Start page where it can walk me through the process of creating a new API key. (I’ve become quite familiar with this page for a few days now.) But if the key I’m using (it’s within Enfold Google services) wasn’t correct, then why does Enfold Google Maps work and not the Events map? (Or does one thing not have to do with the other?)
So, do you recommend that I start from the beginning and create a fresh API key?Thanks Rikard!
January 6, 2024 at 1:27 pm #1429403Hi,
I see three errors in the browser console:
the last two are:
Google Maps JavaScript API error: InvalidKeyMapError
Google Maps JavaScript API warning: NoApiKeys
I believe both of these are because your map API key is not added to the page, the map API key is typically added via javascript and you should be able to find it in the page source code by searching with Ctrl+F (windows), I didn’t see it, but I don’t know your exact API key, so try search the source code for it.
Anyways, the point that I’m getting at is the first javascript error in the browser console, a jQuery is not defined for a meta property with this link:
/event/blazers-vs-clippers-fundraiser/?instance_id=1309
it seems that jQuery is treating /?instance_id=1309 as jQuery code, when it is not, and sometimes when there is a break in jQuery it stops the rest of the scripts to also break. So perhaps the javascript to add the map api is not running because of this error.
Try removing this error first and see if that helps.
I believe the link is your event url, so try removing ?instance_id=1309 from the link as a test and see if this solves the first error, and the map error too.Best regards,
MikeJanuary 7, 2024 at 5:02 am #1429443This reply has been marked as private.January 7, 2024 at 8:01 am #1429444Mike. Please disregard the above reply. After reviewing the Event Calendar settings more fully, I found a little area that required the API key. Once I entered it, the map shows. (So, I removed the <head> script noted above.
Thanks again!
January 7, 2024 at 12:28 pm #1429451Hi,
Glad to hear that you have this sorted out, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
Mike -
AuthorPosts
- The topic ‘Google maps not viewing in All-in-One Event Calendar by Time.ly’ is closed to new replies.