Viewing 8 replies - 1 through 8 (of 8 total)
  • Manuel345

    (@manuel345)

    I have the same problem. Any help?

    Chris

    (@lamordnt)

    Me too. 404 log is no longer working. Previously it would log about 1000 errors per week… now I see none. Any suggestions?

    sydatbliz

    (@sydatbliz)

    Same issue here. Has stopped working on every site where I’ve made the upgrade.

    3Lancer

    (@3lancer)

    Hi fellows,

    For version 3.6.5, here’s a quick solution.

    Under the plugin, location the file ‘/inc/secure.php’ and search for the following code…

    $HTTP_RAW_POST_DATA = @file_get_contents( 'php://input' );
    
    			if ( $HTTP_RAW_POST_DATA !== false && strlen( $HTTP_RAW_POST_DATA ) > 0 ) {
    
    				$data = base64_decode( $HTTP_RAW_POST_DATA );
    
    				if ( strpos( $data, 's:10:"iwp_action";' ) !== false ) {
    					$isIWP = true;
    				} else {
    					$isIWP = false;
    				}
    
    }

    What’s wrong with this, is if it never gets into that IF Statement, it won’t set the ‘$isIWP’ Boolean value.

    So just above that, just after this line…

    global $bwpsoptions, $is_404, $isIWP;

    Add the following…

    $isIWP = false; // added fix

    Thread Starter Goajazzz

    (@goajazzz)

    3Lancer Thank you so much! I tested with some 404 url and bad logins, finally it works now ??

    Manuel345

    (@manuel345)

    I also tested with some 404 url; working nicely!
    Many thanks!

    Manuel345

    (@manuel345)

    I also tested with some 404 url; working nicely!
    Many thanks!

    Chris

    (@lamordnt)

    Perfect! Thanks a ton! Such a simple fix I wonder why the developer doesn’t just release an update to take care of this?

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘404 Detection not works on 3.6.5’ is closed to new replies.