This page can't load Google Maps correctly.

This topic contains 6 replies, has 3 voices, and was last updated by  Guust 1 year, 9 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #523001

    Tony Bellens
    Full Member
    Post count: 254

    Hi,

    We just moved https://getdirections.asia to Siteground. The maps were working fine after the migration, but since this morning the maps are kinda blacked out and are showing the following error:

    This page can’t load Google Maps correctly.

    We checked the API keys and the billing. All seems to be set up correctly. It worked for the past year. The only thing we changed since making the switch to Siteground is the caching and using their SG Optimizer plugin.

    Any ideas what might cause this problem?

    Thank you,
    Tony

    #523003

    Kor
    Moderator
    Post count: 16516

    Hi Tony,

    Thanks for your post. Could you recreate the google Api key? It says “Google Maps JavaScript API warning: NoApiKeys” when I check your Website console.

    #523005

    Tony Bellens
    Full Member
    Post count: 254

    Hi Kor, I did this already twice this morning. When I add the Api keys the maps show fine until I refresh the page. Really no idea what’s happening.

    #523007

    Guust
    Moderator
    Post count: 29970

    Have you tried turning the caching off?

    #523008

    Tony Bellens
    Full Member
    Post count: 254

    I tried a bit of everything. The only thing we did after transferring the site is added the SG Optimizer plugin from Siteground. Any issues with that that you might know of?

    #523009

    Tony Bellens
    Full Member
    Post count: 254

    I found it. In the SG Optimizer plugin is the following setting:

    Defer Render-blocking JS
    Defer loading of render-blocking JavaScript files for faster initial site load.

    If I enable that the maps show the API key error. Maybe good for reference.

    Thanks,
    Tony

    #523012

    Guust
    Moderator
    Post count: 29970

    Thanks for letting us know. Here’s our section on caching: https://wpgeodirectory.com/docs-v2/faq/performance/#cache

Viewing 7 posts - 1 through 7 (of 7 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket