Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author chrisvrichardson

    (@chrisvrichardson)

    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

    (@mosabua)

    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

    (@conschneider)

    Engineer

    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: https://zellnet.caoffice.de/contact/

    Any help much appreciated.
    Constantin

    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

    (@conschneider)

    Engineer

    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

    (@pthomson87)

    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.