It has been reported that the bug of duplicated username addition in wordpress, that happen when page reload on iframe mode.
Look this for explain:
viewtopic.php?p=4358#p4358
The definitive working fix will be so provided into next coming soon 2.1.3
on
/wp-content/plugins/wp-w3all-phpbb-integration/class.wp.w3all-phpbb.php
change
Code: Select all
setcookie("w3allinsertedphpbbu", "unoinsagain", time() + 8, "/", "$w3cookie_domain"); // 8 seconds of life
// or on iframe reload, when login done into iframe and user added at same time into WP first time, this will fire again onreload, despite any check done above
if (!isset($_COOKIE['w3allinsertedphpbbu'])) {
$user_id = wp_insert_user( $userdata );
}
into
Code: Select all
$user_id = wp_insert_user( $userdata );
// or on iframe reload, when login done into iframe and user added at same time into WP first time, this will fire again onreload, despite any check done above
$w3_ins_user = true;
and line
Code: Select all
if( isset($_SERVER['REQUEST_URI']) && !empty($wp_w3all_forum_folder_wp) && strstr($_SERVER['REQUEST_URI'], $wp_w3all_forum_folder_wp) ){
into
Code: Select all
if( !isset($w3_ins_user) && isset($_SERVER['REQUEST_URI']) && !empty($wp_w3all_forum_folder_wp) && strstr($_SERVER['REQUEST_URI'], $wp_w3all_forum_folder_wp) ){
that definitively will resolve the problem for the moment.
On some php version like 7.1.11
Code: Select all
password_hash($password, PASSWORD_ARGON2I);
lead to this error when password reset or user register.
The warning do not cause the wrong execution , all should run smooth by the way, despite the error message may display.
Warning: password_hash() expects parameter 2 to be integer, string given in /w3/wp-content/plugins/wp-w3all-phpbb-integration/wp_w3all.php on line 696
It has been reported that the bug of duplicated username addition in wordpress, that happen when page reload on iframe mode.
Look this for explain: https://www.axew3.com/w3/forums/viewtopic.php?p=4358#p4358
The definitive working fix will be so provided into next coming soon 2.1.3
on [i]/wp-content/plugins/wp-w3all-phpbb-integration/class.wp.w3all-phpbb.php[/i]
change
[code]
setcookie("w3allinsertedphpbbu", "unoinsagain", time() + 8, "/", "$w3cookie_domain"); // 8 seconds of life
// or on iframe reload, when login done into iframe and user added at same time into WP first time, this will fire again onreload, despite any check done above
if (!isset($_COOKIE['w3allinsertedphpbbu'])) {
$user_id = wp_insert_user( $userdata );
}[/code]
into
[code] $user_id = wp_insert_user( $userdata );
// or on iframe reload, when login done into iframe and user added at same time into WP first time, this will fire again onreload, despite any check done above
$w3_ins_user = true;[/code]
and line
[code] if( isset($_SERVER['REQUEST_URI']) && !empty($wp_w3all_forum_folder_wp) && strstr($_SERVER['REQUEST_URI'], $wp_w3all_forum_folder_wp) ){[/code]
into
[code] if( !isset($w3_ins_user) && isset($_SERVER['REQUEST_URI']) && !empty($wp_w3all_forum_folder_wp) && strstr($_SERVER['REQUEST_URI'], $wp_w3all_forum_folder_wp) ){[/code]
that definitively will resolve the problem for the moment.
On some php version like 7.1.11
[code]password_hash($password, PASSWORD_ARGON2I);[/code]
lead to this error when password reset or user register.
The warning do not cause the wrong execution , all should run smooth by the way, despite the error message may display.
[quote]Warning: password_hash() expects parameter 2 to be integer, string given in /w3/wp-content/plugins/wp-w3all-phpbb-integration/wp_w3all.php on line 696[/quote]