Google Maps: No API Key error

Home Forums Calendar Products Events Calendar PRO Google Maps: No API Key error

Viewing 10 posts - 16 through 25 (of 25 total)
  • Author
    Posts
  • #1101540
    Kristi
    Participant

    I added this to functions.php, that way you don’t have to change any of the core files in the plugin.

    Just add your API to the url.

    
    add_filter('tribe_events_google_maps_api','google_api_key');
    
    function google_api_key() {
    	return '//maps.googleapis.com/maps/api/js?key=YOUR_API_KEY';
    }
    
    #1101632
    Hunter
    Moderator

    You all are awesome – this will most certainly be helpful when working the API fix in an upcoming release šŸ™‚

    #1102979
    Joseph
    Participant

    I have tried the recommendations in this thread with no success. Unfortunately, this is impacting my website and I am starting to look like a fool to my viewership. Is there any fix for this other than those listed above? The function has no impact on the map view on the “all events” page… neither does the direct edit of the plugin files.

    I have removed every plugin, tried every theme, no success. I have generated an API key and set it to browser authentication. My domain is verified and I have other Google API’s running successfully.

    Maps are being displayed on the single event page.

    Still presented with:Google Maps API warning: NoApiKeys https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys

    #1102988
    Yan
    Participant

    Are you sure you have a Google Maps Javascript Api?

    If you don’t manage to fix your solution, PM me and I will direct you to somebody that can on Upwork.

    #1102992
    Joseph
    Participant

    Yes, I have it enabled:

    Like I said, single event pages, the map is shown. The All events pages, noapikey error

    #1107387
    Brook
    Participant

    Howdy Joseph,

    Pardon our belated response! This thread was just brought to our attention as needing a response but not yet getting one. šŸ™ Probably a glitch with our forumĀ responseĀ notifier not working as expected.

    I believe what is happening for most of the folks here is that another plugin is loading a newer version of the Gmaps API than our plugin uses. This latest Ā version requires anĀ API key, which is new for Google Maps. The version we have been using for years does not use one, and thus the error.

    If you are experiencing the same issue then you will need to generate a key. If you are experiencing a different issue would you mind opening a new topic, and in your own words describing the problem. Opening a new topic will also request that you share your system info and a link to your website, both things that would be very helpful in this instance.

    Cheers!

    – Brook

    #1107649
    Joseph
    Participant

    I have validated that there is no other google API being loaded. I have already helped others in this forum with that exact issue… this is not my issue. There are no other plugins on my site that use or load the google API for maps.

    The issue with no API key being loaded is not from an additional plugin. Please advise.

    #1109023
    Hunter
    Moderator

    Hey Joseph,

    I understand where you’re coming from, however it will make it easier on us and yourself if you could create a separate thread per forum rules. Thanks for understanding and I’ll keep my eye on the queue. Enjoy your upcoming weekend šŸ™‚

    #1114602
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

    #1119517
    Leah
    Member

    Hello!

    I’m happy to report that we have been working on this feature for our upcoming 4.2 release. The new features for each of our plugins are currently being tested by our QA team and by our beta testers. Soon we’ll be putting the finishing touches on the code and then shipping the new versions out to our lovely customers.

    Thank you for your patience while we worked on this. We appreciate your support! Keep an eye out for version 4.2 coming your way in the coming weeks.

    Cheers,
    Leah
    and The Events Calendar team

Viewing 10 posts - 16 through 25 (of 25 total)
  • The topic ‘Google Maps: No API Key error’ is closed to new replies.