Google Maps stopped working
I’m using the Gaea theme on my website at modestolibraryfriends.org.
Events were all set up and working fine when I went live in May. I entered the required Google API and have not changed it. I used to see a Google map on each of my event pages. I’m not sure when this stopped working, but yesterday I noticed when editing an event page that the Google map is grayed out with a message running through it that says “For development purposes only.” An error message appears in a window: This page can’t load Google Maps correctly.
Your team has been so helpful in the past; I hope you can help me again.
Make sure you have enabled the API for your website as now Google need to have API keys to allow http websites to access the services https://support.imithemes.com/forums/topic/how-to-get-google-maps-api/#enable-apis
Also I suggest you to enable Geocoding service for the API Key. Go to your Google project’s Dashboard for this API and click “Enable APIS and Services” https://d.pr/i/1yZmeO On the following page click “View All” https://d.pr/i/I85qi2 On the next page click “Geocoding” https://d.pr/i/AD8hN5 and click “Enable” on the following page. This should help in showing the maps correctly. Thanks
I looked at Google Maps stats and can see that my latency is at the 98th percentile (slowest 2%) at 32 ms. I’m not sure what it measured at 1:15 pm today (17 minutes ago) and again at 1:33 pm but I guess I might have clicked the map in the WP editor each time.
Have you any additional suggestions or have I reached the point where I need to contact Google?
Thanks# 2 months ago
I am not sure where to find the error in my “event page console” that you mentioned. Can you tell me where to find that?
I did do some research about referrers and at the link you provided, and looked closely at console.developers.google.com/apis/credentials so I could learn more myself.
In the Google console, under Restrictions, I only had the GoogleMaps API activated. I added the Geocoding API and, instantly, my maps display on my website once again. I noticed, though, that in WP, on each “Edit Event” page, I still have a grayed out map labeled “for development purposes only” and a message that “This page can’t load Google maps correctly.”
I tried one other thing I had read. In the Google console, under Application Restrictions, I added two URLs from which to accept requests. They were modestolibraryfriends.org/* and *.modestolibraryfriends.org/* This did not change anything. Website maps still display, Edit Event page maps do not.
I guess I can live with my current situation, as the site DOES now display maps. I’m just curious why maps won’t load on my Edit Events pages in WP.
Thanks for sticking with me 🙂
Hello, I normally wouldn’t add to an existing thread, however this is my exct issue.
The problem seems to be the key being used in admin events is not updated when the key is updated in theme options.
I can see clearly that the key programmed in theme options is being used on the frontend, however – the key being used in the backend in an different/old key. I have triple checked the permissions on the key (there are no console errors on the front end) – however in the backend, the console complains about API billing (just like the OP), due to it being a key I don’t recognize and cannot seem to change.
Where is the key stored in the database? So I can change it in the meantime? I can also provide credentials if needed.
The exact broken key (that I do not recognize) is referenced in this post: https://support.imithemes.com/forums/topic/google-maps-api_key-hardcoded/
Where is the key hardcoded in Gaea so I can change??# 2 weeks, 2 days ago
II need to close this other users thread to avoid further confusion for the original thread creator. Also I recommend you to change your wp-admin credentials for security reasons.
The topic ‘Google Maps stopped working’ is closed to new replies.