Title: [Plugin: Business Directory Plugin] Google Map Plugin &#8211; Sensor parameter issue
Last modified: August 20, 2016

---

# [Plugin: Business Directory Plugin] Google Map Plugin – Sensor parameter issue

 *  Resolved [MCM](https://wordpress.org/support/users/nathmie/)
 * (@nathmie)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-business-directory-plugin-google-map-plugin-sensor-parameter-issue/)
 * I cannot see the google map, on browsing to the page it gives me an error.
 * “The Google Maps API server rejected your request. The “sensoor” parameter specified
   in the request must be set to either “True” or “false”.
 * I am using latest version of maps and directory and latest WP 3.4.1.
 * PLEASE HELP!
 * [http://wordpress.org/extend/plugins/business-directory-plugin/](http://wordpress.org/extend/plugins/business-directory-plugin/)

Viewing 13 replies - 1 through 13 (of 13 total)

 *  Thread Starter [MCM](https://wordpress.org/support/users/nathmie/)
 * (@nathmie)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-business-directory-plugin-google-map-plugin-sensor-parameter-issue/#post-2964759)
 * I am using php 5.4.4 but tested on my local machine php 5.4.3 not sure if this
   makes a difference.
 *  Thread Starter [MCM](https://wordpress.org/support/users/nathmie/)
 * (@nathmie)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-business-directory-plugin-google-map-plugin-sensor-parameter-issue/#post-2964760)
 * It occurs on both instances, but I had to disable it on my live website as users
   would get this message on every page.
 *  Plugin Author [Business Directory Plugin](https://wordpress.org/support/users/businessdirectoryplugin/)
 * (@businessdirectoryplugin)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-business-directory-plugin-google-map-plugin-sensor-parameter-issue/#post-2964797)
 * ]\Can you tell me what parameters/fields you are using in the Google Maps API?
   A complete list would help.
 * Also, what listing does it choke on, so we can try to reproduce it locally? A
   link would be most helpful.
 *  Thread Starter [MCM](https://wordpress.org/support/users/nathmie/)
 * (@nathmie)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-business-directory-plugin-google-map-plugin-sensor-parameter-issue/#post-2964800)
 * I had to switch off your plugin otherwise my users would get that pop up on every
   page. Consider placing conditional statement that the google js only loads on
   the necessary pages.
 * I am using all the fields from the available fields, address, state etc.
 *  Plugin Author [Business Directory Plugin](https://wordpress.org/support/users/businessdirectoryplugin/)
 * (@businessdirectoryplugin)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-business-directory-plugin-google-map-plugin-sensor-parameter-issue/#post-2964828)
 * It’s possible several things could be going on here–I need you to try some things
   out:
 * – What about temporarily disabling all other plugins? Does that fix the behavior
   with Google Maps on? (that would mean a plugin conflict)
    – What if you use fewer
   fields? Like only address and city/state?
 * I need to be able to reproduce this to fix it. We’re definitely not seeing this
   locally (I have Google Maps installed on the demo: [http://businessdirectoryplugin.com/business-directory/](http://businessdirectoryplugin.com/business-directory/)
   and it works fine.
 *  Thread Starter [MCM](https://wordpress.org/support/users/nathmie/)
 * (@nathmie)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-business-directory-plugin-google-map-plugin-sensor-parameter-issue/#post-2964829)
 * I googled this and happens on several other plugins. I am using php 5.4.3 and
   php 5.4.4 on my local test site and live website.
 * My local website has 1 or 2 plugins like page-navi so it is not that.
 * I read some stuff and perhaps your code is also not doing this…
 * <script type=’text/javascript’ src=’[http://maps.googleapis.com/maps/api/js’></script&gt](http://maps.googleapis.com/maps/api/js’></script&gt);
 * This line of code should have the sensor param set but is getting chopped off
   somehow. Some other dev/person had the same issue but they did not get resolve
 *  Thread Starter [MCM](https://wordpress.org/support/users/nathmie/)
 * (@nathmie)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-business-directory-plugin-google-map-plugin-sensor-parameter-issue/#post-2964830)
 * alert(“The Google Maps API server rejected your request. The \x22sensor\x22 parameter
   specified in the request must be set to either \x22true\x22 or \x22false\x22.”)
 *  Plugin Author [Business Directory Plugin](https://wordpress.org/support/users/businessdirectoryplugin/)
 * (@businessdirectoryplugin)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-business-directory-plugin-google-map-plugin-sensor-parameter-issue/#post-2964831)
 * Perhaps it related to PHP 5.4. Can we get admin access to your site to see it
   in action? You can leave it disabled for now. Use the contact form [http://businessdirectoryplugin.com/contact/](http://businessdirectoryplugin.com/contact/)
 *  Thread Starter [MCM](https://wordpress.org/support/users/nathmie/)
 * (@nathmie)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-business-directory-plugin-google-map-plugin-sensor-parameter-issue/#post-2964832)
 * Download XAMP Beta
 * [http://www.apachefriends.org/en/xampp-beta.html](http://www.apachefriends.org/en/xampp-beta.html)
 * I am testing on my local machine using this.
 * Clean install of WP + your plugins (bd and google map)
    activate and you will
   see the errors.
 *  Plugin Author [Business Directory Plugin](https://wordpress.org/support/users/businessdirectoryplugin/)
 * (@businessdirectoryplugin)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-business-directory-plugin-google-map-plugin-sensor-parameter-issue/#post-2964853)
 * OK, I sent an updated module for you to try. Let me know how it goes.
 *  Thread Starter [MCM](https://wordpress.org/support/users/nathmie/)
 * (@nathmie)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-business-directory-plugin-google-map-plugin-sensor-parameter-issue/#post-2964856)
 * Apologies I found the issue. In my functions.php I had the following code
 *     ```
       /* This handles the  "Remove query strings from static resources" issue (PERFORMANCE - CACHING) */
       function _remove_script_version( $src ){
       	//$parts = explode( '?', $src );
       	//return $parts[0];
       }
       //add_filter( 'script_loader_src', '_remove_script_version', 15, 1 );
       //add_filter( 'style_loader_src', '_remove_script_version', 15, 1 );
       ```
   
 * This was chopping off the sensor param thing.
 *  [bizdirectorysupport](https://wordpress.org/support/users/bizdirectorysupport/)
 * (@bizdirectorysupport)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-business-directory-plugin-google-map-plugin-sensor-parameter-issue/#post-2964861)
 * So the problem is resolved?
 *  Thread Starter [MCM](https://wordpress.org/support/users/nathmie/)
 * (@nathmie)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-business-directory-plugin-google-map-plugin-sensor-parameter-issue/#post-2964862)
 * Yes, thanks.

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘[Plugin: Business Directory Plugin] Google Map Plugin – Sensor parameter
issue’ is closed to new replies.

 * ![](https://ps.w.org/business-directory-plugin/assets/icon-256x256.png?rev=2901888)
 * [Business Directory Plugin - Easy Listing Directories for WordPress](https://wordpress.org/plugins/business-directory-plugin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/business-directory-plugin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/business-directory-plugin/)
 * [Active Topics](https://wordpress.org/support/plugin/business-directory-plugin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/business-directory-plugin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/business-directory-plugin/reviews/)

 * 13 replies
 * 3 participants
 * Last reply from: [MCM](https://wordpress.org/support/users/nathmie/)
 * Last activity: [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-business-directory-plugin-google-map-plugin-sensor-parameter-issue/#post-2964862)
 * Status: resolved