Home › Forums › Calendar Products › Events Calendar PRO › Google Maps API error: MissingKeyMapError
- This topic has 13 replies, 2 voices, and was last updated 6 years, 2 months ago by Richard Palmer.
-
AuthorPosts
-
December 21, 2017 at 1:10 am #1410620Richard PalmerParticipant
HI,
I’m having an issue on the site where the google map initially loads and then errors with the console error ofGoogle Maps API error: MissingKeyMapError https://developers.google.com/maps/documentation/javascript/error-messages#missing-key-map-error
.Pb @ js:38
(anonymous) @ common.js:54
(anonymous) @ common.js:199
c @ common.js:48
(anonymous) @ AuthenticationService.Authenticate?1shttps%3A%2F%2Fokhane.com%2Fevents%2F&callback=_xdc._r3v083&token=96386:1I have created a new API key but the same problem is accuring.
I have also switched on logging but I know get the following error when trying to access the help screen,
About WordPress
Okhane
74 Plugin Updates, 3 Theme Updates
00 comments awaiting moderation
New
SEO22 notifications
Events
Hi, Richard Palmer
Log OutFatal error: Uncaught exception ‘RuntimeException’ with message ‘SplFileInfo::isReadable(): open_basedir restriction in effect. File(/tmp/..) is not within the allowed path(s): (/nfs:/tmp:/usr/local:/etc/apache2/gs-bin)’ in /nfs/c11/h06/mnt/195738/domains/okhane.com/html/wp-content/plugins/the-events-calendar/common/src/Tribe/Log/File_Logger.php:239 Stack trace: #0 /nfs/c11/h06/mnt/195738/domains/okhane.com/html/wp-content/plugins/the-events-calendar/common/src/Tribe/Log/File_Logger.php(239): SplFileInfo->isReadable() #1 /nfs/c11/h06/mnt/195738/domains/okhane.com/html/wp-content/plugins/the-events-calendar/common/src/Tribe/Log/Admin.php(129): Tribe__Log__File_Logger->list_available_logs() #2 /nfs/c11/h06/mnt/195738/domains/okhane.com/html/wp-content/plugins/the-events-calendar/common/src/Tribe/Log/Admin.php(16): Tribe__Log__Admin->get_available_logs() #3 /nfs/c11/h06/mnt/195738/domains/okhane.com/html/wp-content/plugins/the-events-calendar/common/src/admin-views/tribe-options-help.php(56): Tribe__Log__Admin->display_log() in /nfs/c11/h06/mnt/195738/domains/okhane.com/html/wp-content/plugins/the-events-calendar/common/src/Tribe/Log/File_Logger.php on line 239
December 21, 2017 at 9:04 am #1411003CliffMemberHi, Richard.
I’m unsure about that fatal error message (maybe disable The Events Calendar’s logging?), but please reference https://theeventscalendar.com/knowledgebase/setting-up-your-google-maps-api-key/ to get your Google Maps API Key setup correctly.
Please let me know how this goes for you.
December 27, 2017 at 2:31 am #1413137Richard PalmerParticipantThis reply is private.
December 27, 2017 at 6:43 pm #1413676CliffMemberIf you’re referring to wp-admin > Events > General tab > “Miscellaneous Settings” section > “Debug mode” being checked causing you this problem…
…and if you’re comfortable manually editing your database…
…then you can edit the “tribe_events_calendar_options” option_name by changing the
s:11:"debugEvents";b:1;
part of it tos:11:"debugEvents";b:0;
(Of course, we always recommend restorable database and file backups before modifying anything on your site.)
January 3, 2018 at 7:20 am #1416934Richard PalmerParticipantThis reply is private.
January 3, 2018 at 3:48 pm #1417487CliffMemberSorry that didn’t work.
I had a developer take a look and they confirmed some improvements could be made that, in your case, is causing a fatal error (although not happening for everyone).
I marked this thread as Pending Fix, which means it should receive a reply once the applicable fix has been released. I cannot guarantee when it will be fixed as it’s in the development team’s hands now. They need to assign it, code it, test it, and schedule it for release.
I apologize for this issue and appreciate your understanding and patience.
FYI: visiting your site currently produces this error:
Fatal error: Call to undefined function WC() in /wp-content/plugins/mailchimp-for-woocommerce/includes/class-mailchimp-woocommerce-service.php on line 506
You should definitely get that resolved ASAP, either by disabling this plugin or fixing it yourself in this plugin’s code (if you’re comfortable doing so) and report the issue to this plugin’s developer.
January 4, 2018 at 12:54 am #1417745Richard PalmerParticipantThis reply is private.
January 4, 2018 at 10:11 am #1418148CliffMemberThe fix is for the wp-admin area being unavailable to make changes to Events Settings.
There is no confirmed issue with the Google Maps API.
I see from your System Information Report that you have the AIza…sFYQ Google Maps API key, and visiting your site I see that API key in the page source… This leads me to believe that your theme or another plugin is including Google Maps without an API key.
Please follow our Testing for Conflicts Guide (basically switch to Twenty Seventeen theme and deactivate all plugins and custom code other than Modern Tribe plugins) and see if that helps narrow down the cause of this.
Of course, we always recommend restorable database and file backups before modifying anything on your site.
January 8, 2018 at 6:12 am #1420349Richard PalmerParticipantThis reply is private.
January 11, 2018 at 7:37 pm #1424285CliffMemberYesterday we released https://theeventscalendar.com/maintenance-release-week-7-january-2018/, in which we improved the code relating to this issue.
Does the issue still happen with your theme when running the latest versions of all our plugins?
January 12, 2018 at 12:59 am #1424431Richard PalmerParticipantThis reply is private.
January 13, 2018 at 6:22 am #1425471CliffMemberThis reply is private.
February 4, 2018 at 8:35 am #1443617Support DroidKeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘Google Maps API error: MissingKeyMapError’ is closed to new replies.