Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #981501

    Hi!

    Out of the blue Google maps is no longer working on our website. The Google map element is blank.

    When I check via the developers console it returns 0

    <div id=”av_gmap_1″ class=”avia-google-map-container ” data-mapid=”1″ style=”height: 400px;”></div> == $0

    I has worked until this week.

    What I have done to fix this problem
    – Checked the settings in Google developers console
    – I have created a new API key
    – Checked if Google maps works with another plugin, it does!
    – Disabled all used plugins, no difference
    – Restored an older version of enfold, no difference
    – Check enfold child settings with other websites I have build with enfold, no difference

    I have read about adding action

    add_action(‘init’, function {
    update_option( ‘av_gmaps_api_key’, ‘ADD KEY HERE’ );
    });

    But I have no idea where I have to ad this code, functions.php?

    I hope you can help me out.

    Kind regards,
    Sebastiaan

    #982038

    Hey sebastiaan,

    Thank you for using Enfold.

    It seems to be an issue with the Geocode APi. Please check the project’s API manager and make sure that it is enabled.

    Provide the login details in the private field so that we can test it further. Is it working when you put the API key without validating it? Just add the key and then save the theme options. Let us know if that is working.

    Best regards,
    Ismael

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.