Title: sensor Parameter
Last modified: August 20, 2016

---

# sensor Parameter

 *  Resolved [mosabua](https://wordpress.org/support/users/mosabua/)
 * (@mosabua)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/sensor-parameter/)
 * Hi
 * after upgrading WordPress to 3.5 and MapPress to 2.39.2 I get the following error
   and the map is not loading:
    “Ihre Anfragte wurde vom Google Maps API Server 
   abgelehnt. Der in der Anfrage angegebene “sensor” Parameter muss entweder “true”
   oder “false” sein.”
 * you can check it @ [http://ilab.salzburgresearch.at/kontakt/](http://ilab.salzburgresearch.at/kontakt/)
 * thx for your awesome plugin
    werner
 * [http://wordpress.org/extend/plugins/mappress-google-maps-for-wordpress/](http://wordpress.org/extend/plugins/mappress-google-maps-for-wordpress/)

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

 *  Plugin Author [chrisvrichardson](https://wordpress.org/support/users/chrisvrichardson/)
 * (@chrisvrichardson)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/sensor-parameter/#post-3287459)
 * Hi,
 * I looked at your site. For some reason all of the javascript URL parameters are
   stripped (even from the javascripts that aren’t for MapPress). For example, all
   of the scripts normally have a version like “?ver=1234”.
 * The sensor parameter is also stripped, which is what gives the error.
 * Could something else be modifying the URLs? The first thing to check would be
   two switch to a standard theme (like 2012) and deactivate your other plugins 
   for a moment. If that fixes it you can reactivate to find the issue.
 *  Thread Starter [mosabua](https://wordpress.org/support/users/mosabua/)
 * (@mosabua)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/sensor-parameter/#post-3287465)
 * Hi Chris,
 * thanks for giving me the right direction. The problem occured due to the plugin
   Better WP Security. There you got one flag (under the Tweaks tab):
 * Display random version number to all non-administrative users
    -Displays a random
   version number to visitors who are not logged in at all points where version 
   number must be used and removes the version completely from where it can.
 * After deactivating this option everthing works perfectly.
 * thanks again
    werner
 *  [con](https://wordpress.org/support/users/conschneider/)
 * (@conschneider)
 * Engineer
 * [13 years, 3 months ago](https://wordpress.org/support/topic/sensor-parameter/#post-3287500)
 * Hi Chris,
 * I just upgraded to WP 3.5.1 and now have the same problem. Alas deactivating 
   all other plugins did not help.
 * You can view the error here: [http://zellnet.caoffice.de/contact/](http://zellnet.caoffice.de/contact/)
 * Any help much appreciated.
    Constantin
 *  [Geoffrey](https://wordpress.org/support/users/creativejuiz/)
 * (@creativejuiz)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/sensor-parameter/#post-3287501)
 * Hi,
 * Do you use a snippet like this?
 *     ```
       add_filter( 'script_loader_src', 'delete_script_version', 15, 1 );
       add_filter( 'style_loader_src', 'delete_script_version', 15, 1 );
   
       if( !function_exists("delete_script_version")) {
       	  function delete_script_version( $src ){
       	      $parts = explode( '?', $src );
       	      return $parts[0];
       	  }
       }
       ```
   
 * I could cause this error.
    Add “ver” just after the question mark in this code.
 * Best regards.
 *  [con](https://wordpress.org/support/users/conschneider/)
 * (@conschneider)
 * Engineer
 * [13 years, 3 months ago](https://wordpress.org/support/topic/sensor-parameter/#post-3287502)
 * Hey Geoffrey,
 * Thank you for your input. I downloaded my complete root folder and did a full
   text search via notepad++.
 * Found nothing, no such snippet anywhere.
 * Might you have another idea?
 * Best regards,
    Constantin
 *  [P T](https://wordpress.org/support/users/pthomson87/)
 * (@pthomson87)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/sensor-parameter/#post-3287503)
 * All,
 * Can confirm (for me at least) a similar code Geoffrey suggested from my theme
   functions file fixed the issue. Thank you for providing.
 * Paul

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

The topic ‘sensor Parameter’ is closed to new replies.

 * ![](https://ps.w.org/mappress-google-maps-for-wordpress/assets/icon-256x256.png?
   rev=2410347)
 * [MapPress Maps for WordPress](https://wordpress.org/plugins/mappress-google-maps-for-wordpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mappress-google-maps-for-wordpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mappress-google-maps-for-wordpress/)
 * [Active Topics](https://wordpress.org/support/plugin/mappress-google-maps-for-wordpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mappress-google-maps-for-wordpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mappress-google-maps-for-wordpress/reviews/)

 * 6 replies
 * 5 participants
 * Last reply from: [P T](https://wordpress.org/support/users/pthomson87/)
 * Last activity: [13 years, 3 months ago](https://wordpress.org/support/topic/sensor-parameter/#post-3287503)
 * Status: resolved