Error when user registers after upgrading to WF 7.3.1
-
Hello,
After upgrading to Wordfence 7.3.1, when a user tries to register to my site I see the following error:
Fatal error: Uncaught ArgumentCountError: Too few arguments to function WordfenceLS\Controller_WordfenceLS::_record_login(), 1 passed in /home/XXXX/XXXX.com/wp-includes/class-wp-hook.php on line 286 and exactly 2 expected in /home/XXXX/XXXX.com/wp-content/plugins/wordfence/modules/login-security/classes/controller/wordfencels.php:545 Stack trace: #0 /home/XXXX/XXXX.com/wp-includes/class-wp-hook.php(286): WordfenceLS\Controller_WordfenceLS->_record_login(‘XXXX’) #1 /home/XXXX/XXXX.com/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #2 /home/XXX/XXXX.com/wp-includes/plugin.php(465): WP_Hook->do_action(Array) #3 /home/XXXX/XXXX.com/wp-content/plugins/inventor/includes/post-types/class-inventor-post-type-user.php(621): do_action(‘wp_login’, ‘XXXX’) #4 /home/XXXX/XXXX.com/wp-includes/class-wp-hook.php(286): Inventor_Post_Type_User::process_register_for in /home/XXXX/XXXX.com/wp-content/plugins/wordfence/modules/login-security/classes/controller/wordfencels.php on line 545
The user is registered but the error seems to appear when the theme tries to log him in.
I downgraded back to Wordfence 7.2.5 and the error does not happen.Thank you
- The topic ‘Error when user registers after upgrading to WF 7.3.1’ is closed to new replies.