Google Maps not working after the update

Hi,
Google Maps suddenly stopped working, it was before the last update.
MapBox is working well. But when I switched to Google Maps, I have white blank for the maps and the search bar is not displaying any results.

You have to update it every once in a while in the google cloud. Check your email in which you registered the google maps api account. It should notify you with the steps to update it.

Thank you @aqmiami7, do you have the process to update it? I didn’t get a notification.

Please check the browser JS console or send a link to your site and I’ll check it, there should be the detailed error message.

When you are using a free google maps account, it expires. To activate it again go to your google console. Go to the google apis or google map platform and renew your free account. This happened to me a few months ago and that was the solution for me. Check under billing, see what it says there. If you search your email for google cloud, you should find an email like this with the link to upgrade from your expired free trial.

1 Like

This is strange, I though there’s a free tier after the trial period ends, if they disable the API completely I recommend using Mapbox instead.

After you upgrade using google maps remain free, however if you pass a certain limit on usage credits then they charge.

The Google Cloud Free Program comprises the following:

  • 90-day, $300 Free Trial: New Google Cloud and Google Maps Platform users can take advantage of a 90-day trial period that includes $300 in free Cloud Billing credits to explore and evaluate Google Cloud and Google Maps Platform products and services. You can use these credits toward one or a combination of products.
  • Limited time T2A Free Trial: See Creating an Arm VM instance for offer details.
  • Free Tier: All Google Cloud customers can use select Google Cloud products—like Compute Engine, Cloud Storage, and BigQuery—free of charge, within specified monthly usage limits. When you stay within the Free Tier limits, these resources are not charged against your Free Trial credits or to your Cloud Billing account’s payment method after your trial ends.
  • Google Maps Platform monthly credit: Google Maps Platform features a recurring $200 monthly credit (see Pricing for Maps, Routes, and Places). The monthly credit applies towards each Maps-related Cloud Billing account you create. Learn more about Google Maps Platform Billing Account Credits.

Here is the free trial info link for google maps

1 Like

Thank you @ihor & @aqmiami7. My account is still in free trial.
But in the JS Console I found this error code :

jquery.min.js?ver=3.6.1:2

   jQuery.Deferred exception: google is not defined ReferenceError: google is not defined
at HTMLDivElement.<anonymous> (https://relevo.fr/wp-content/plugins/hivepress-geolocation/assets/js/common.min.js?ver=1.3.7:1:2912)
at Function.each (https://relevo.fr/wp-includes/js/jquery/jquery.min.js?ver=3.6.1:2:3003)
at s.fn.init.each (https://relevo.fr/wp-includes/js/jquery/jquery.min.js?ver=3.6.1:2:1481)
at hivepress.initGeolocation (https://relevo.fr/wp-content/plugins/hivepress-geolocation/assets/js/common.min.js?ver=1.3.7:1:2077)
at HTMLDocument.<anonymous> (https://relevo.fr/wp-content/plugins/hivepress-geolocation/assets/js/common.min.js?ver=1.3.7:1:4104)
at HTMLDocument.dispatch (https://relevo.fr/wp-includes/js/jquery/jquery.min.js?ver=3.6.1:2:43064)
at y.handle (https://relevo.fr/wp-includes/js/jquery/jquery.min.js?ver=3.6.1:2:41048)
at Object.trigger (https://relevo.fr/wp-includes/js/jquery/jquery.min.js?ver=3.6.1:2:71659)
at HTMLDocument.<anonymous> (https://relevo.fr/wp-includes/js/jquery/jquery.min.js?ver=3.6.1:2:72254)
at Function.each (https://relevo.fr/wp-includes/js/jquery/jquery.min.js?ver=3.6.1:2:3003) undefined 

S.Deferred.exceptionHook @ jquery.min.js?ver=3.6.1:2

This issue may occur if you use some caching or optimization plugins that combine or defer JS scripts, then the Google Maps script may be loaded later than the Geolocation script that requires Google Maps.

1 Like

Resolved, the Complianz plugin was causing this issue. Thank you ihor !

1 Like