Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1315177

    undici
    Participant

    Cornerstone cannot preview the google map and throws a Javascript error below, so users are failing to use map as they assume it is broken in cornerstone.

    But api key is present (attached) and Map is viewable on the front end (attached), so API Key is working. How can I get it viewable in Cornerstone?

    Google Maps API error: MissingKeyMapError https://developers.google.com/maps/documentation/javascript/error-messages#missing-key-map-error
    _.kb @ js?v=3&:34

    #1315180

    undici
    Participant

    other attachment

    #1315372

    Darshana
    Moderator

    Hi there,

    Thanks for writing in! If you’re using Superfly or UberMenu, disable their Google Maps API option from it’s settings and see if that works for you.

    To check your issue further, we require your page URL.

    Thanks!

    #1316831

    undici
    Participant
    This reply has been marked as private.
    #1317066

    Rue Nel
    Moderator

    Hello There,

    Thanks for updating in! Every time we logged in, we are being redirected to this page:

    Could you please disable WordFence so that we can log in? Thank you.

    By the way, are you using CloudFlare? The Cornerstone builder takes place on the front end, so sometimes Cloudfare tries to cache its resources. This can cause stale data to be loaded. To resolve this, you’ll need to disable Cloudfare when the builder is in use. This won’t effect front end performance at all.

    1. Log into CloudFlare and navigate to “Page Rules”
    2. Add a new rule using this URL pattern: *.example.com/*?cornerstone=1
    3. Under custom caching, enable “Bypass cache”
    4. Turn Performance “Off”

    If you’re still having issues editing a page, you may need to login to Cloudfare again and purge the cache.

    #1317513

    undici
    Participant

    Apologies, I have disabled Wordfence.

    I add the page rule to cloudflare (see attached).

    Also emptied the cloudflare cache, deleted transients in the WP admin.

    Checked the page again: /contact/?cornerstone=1 and am still receiving the error.

    Thanks

    #1318201

    Rue Nel
    Moderator

    Hello There,

    The API key works on a live site. It doesn’t work in Cornerstone. It could be that the API key were set to only work on a specific page. Please try to generate an API key that will work in any page in your site. To regenerate your API key, please check this out:

    If this doesn’t help, this could be a bug or something which needs further investigation. I will be reporting this to our developers.

    By the way, you might also be interested in this thread: https://community.theme.co/forums/topic/map-error/

    Thank you for your understanding.

    #1319020

    undici
    Participant

    Thanks.

    I created a new API key with no restrictions, waited an hour per google, then entered the new key, no luck.

    Just to re-iterate the map appears on the front end, just no in cornerstone, so I don’t think it is the Key, as cornerstone starts to display the map then errors.

    Thanks

    #1319233

    Joao
    Moderator

    Hi There.

    Are you using Uber Menu?

    If Yes,turn off Load Google Maps API from Ubermenu’s General Setting.

    Let us know how it goes,

    Joao

    #1320253

    undici
    Participant

    I am not using Superfly or UberMenu.

    #1320730

    Rad
    Moderator

    Hi there,

    I’d like to check it too but seems the login credentials are outdated. Or perhaps, the CLEF plugin is redirecting me back to login page. There is no message if the login is correct or incorrect, but it redirects back to login page after logging in.

    Thanks!