ZeldaW
Forum Replies Created
-
For those having the same pb with Google maps, check here: https://www.ads-software.com/support/topic/plugin-better-wp-security-google-maps-api
There seems to be an incompatibility with Better WP security plugin.Translation:
The Google Maps API server rejected your request. The “sensor”
parameter specified in the request must be set to either “true” or
“false”.[ Moderator note: use of
<strong>
removed. ]I’m having the following error in both Firefox and Explorer (not Chrome)
Erreur
Le serveur API Google Maps a rejeté votre demande. Le paramètre “sensor” indiqué doit être défini sur “true” ou “false”.
Suggested script on forums:
[ Moderator Note: Please post code or markup snippets between backticks or use the code button. ]
<script type="text/javascript" src="maps.google.com/maps/api/js?sensor=false">script>
And yet sensor seems to have been defined:
function wpgmappity_load_theme_scripts() { wp_enqueue_script( 'jquery' ); $gmap_url = 'https://maps.google.com/maps/api/js?sensor=false'; wp_enqueue_script( 'gmap_loader', $gmap_url ); }
Any idea? The matter is urgent.
Thanks,
Hi there.
Thanks for the quick answer.
Problem solved:
As these pages were automatically generated for the main language, it never occured to my very tired mind, that I would need to translate them into the other language.
Sorry!Kindest regards,
Hi there,
Thanks for the quick answer.
I’m using WPML. But changing the permalinks seems to have worked.
If not, I’ll come back to you.Kindest regards