mhh .. thank for report .... looking on code i have still not understand how it can come out with the plugin you added, i will check asap better.
I installed on fly the free plugin version, setup redirect 301 of wp_login, to another page, because wp_login page is where the integration plugin point if an user bruteforced is redirected to. Then i simulated a bruteforce to an account, re-logged him in phpBB, then come into wp side, causing logout of the user because the bruteforce fire requiring a login in wp. I correctly redirected, then i've login, and all work smooth. Can't reproduce at moment.
/wp-content/plugins/wp-w3all-phpbb-integration/
class.wp.w3all-phpbb.php
line 1077, where (it is strange because it should work only when the array value isset) :
if(isset($w3all_bruteblock_phpbbulist[$phpbb_user_id])){ // Remove this uid
the subsequent is
unset($w3all_bruteblock_phpbbulist[$phpbb_user_id]);
maybe the whole
Code: Select all
if(isset($w3all_bruteblock_phpbbulist[$phpbb_user_id])){ // Remove this uid
unset($w3all_bruteblock_phpbbulist[$phpbb_user_id]);
$w3all_bruteblock_phpbbulist = empty($w3all_bruteblock_phpbbulist) ? '' : $w3all_bruteblock_phpbbulist;
update_option( 'w3all_bruteblock_phpbbulist', $w3all_bruteblock_phpbbulist );
}
should be changed into (and it will be on 2.4.0, so thank you in the while)
Code: Select all
unset($w3all_bruteblock_phpbbulist[$phpbb_user_id]);
$w3all_bruteblock_phpbbulist = empty($w3all_bruteblock_phpbbulist) ? '' : $w3all_bruteblock_phpbbulist;
update_option( 'w3all_bruteblock_phpbbulist', $w3all_bruteblock_phpbbulist );
because
isset is not needed here.
You can disable the bruteforce option into plugin admin, that will reset the array of data and reactivate it.
Then try to reactivate the 301 redirect, and check, and please report, when you get this error if you can understand how to reproduce it.
Where you set to redirect 301, which page?
i'm testing on 2.4.0 rc3 where many things changed, but 2.3.9 should work the same about bruteforce
https://www.axew3.com/w3/forums/viewtop ... 4946#p4946
let know!