Support

Home Forums Event Espresso Premium SensorNotRequired Warning for Google Maps

SensorNotRequired Warning for Google Maps

Posted: February 6, 2019 at 11:38 am


mariodac

February 6, 2019 at 11:38 am

I have setup my API account and have reviewed multiple issues and have addressed all of them to make sure my Gobble account is setup correctly

When I view the map for the Venue within Event it says;
“OOps! Something went wrong.
This page didn’t load Google Maps correctly….”

When I look at the Browser console, I get the following warnings/errors:
Warning – Google Maps JavaScript API warning: SensorNotRequired https://developers.google.com/maps/documentation/javascript/error-messages#sensor-not-required
Error – You have included the Google Maps JavaScript API multiple times on this page. This may cause unexpected errors.
Error – Geocoding Service: This API project is not authorized to use this API. For more information on authentication and Google Maps JavaScript API services please see: https://developers.google.com/maps/documentation/javascript/get-api-key
Warning – Google Maps JavaScript API warning: SensorNotRequired https://developers.google.com/maps/documentation/javascript/error-messages#sensor-not-required


mariodac

February 6, 2019 at 11:56 am

I deleted the previous project in the Google Maps API and created a new one
Now with a new API key the map is showing, but still getting the following Warning/Error;

Warning – Google Maps JavaScript API warning: SensorNotRequired https://developers.google.com/maps/documentation/javascript/error-messages#sensor-not-required
Error – You have included the Google Maps JavaScript API multiple times on this page. This may cause unexpected errors.
OBJ: eeRecaptcha :
siteKey = XXXXXXXXXXXXXXXXXXXXXXXXXXX (for this post I deleted key for security reasons)
recaptcha_passed = false
wp_debug = false
disable_submit = false
Warining – SEC7131: Security of a sandboxed iframe is potentially compromised by allowing script and same origin access.
Warining – SEC7131: Security of a sandboxed iframe is potentially compromised by allowing script and same origin access.
Warining – Google Maps JavaScript API warning: SensorNotRequired https://developers.google.com/maps/documentation/javascript/error-messages#sensor-not-required

Anything I need to do or just ignore these issues?


Tony

  • Support Staff

February 6, 2019 at 12:26 pm

Hi there,

At first the map wouldn’t load because the API key you used did not have access to the Geoencoding API, thats why you got this error:

Error – Geocoding Service: This API project is not authorized to use this API. For more information on authentication and Google Maps JavaScript API services please see: https://developers.google.com/maps/documentation/javascript/get-api-key

If you enabled that API on the project it should then have worked.

Warning – Google Maps JavaScript API warning: SensorNotRequired

Isn’t an issue but the sensor should be removed from the link, however, it doesn’t look like the EE link is being included on the page.

Does your theme include Google maps anywhere?

Error – You have included the Google Maps JavaScript API multiple times on this page. This may cause unexpected errors.

It looks like either your theme or a plugin is including the Google maps javascript apt, so then when EE includes it on the event pages its happening multiple times.

Usually, not a major issues but it’s better if that isn’t happening.

The support post ‘SensorNotRequired Warning for Google Maps’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso