Fatal error: Uncaught ArgumentCountError: Too few arguments
-
My Frontend Password Reset gives out critical Error
WordPress 6.6.1, PHP 8.2, WP-2FA (Version 2.8.0)
Fatal error: Uncaught ArgumentCountError: Too few arguments to function WP2FA\Authenticator\Reset_Password::lostpassword_post(), 1 passed in /html/wordpress/wp-includes/class-wp-hook.php on line 324 and exactly 2 expected in /html/wordpress/wp-content/plugins/wp-2fa/includes/classes/Authenticator/class-reset-passord.php:47 Stack trace: #0 /html/wordpress/wp-includes/class-wp-hook.php(324): WP2FA\Authenticator\Reset_Password::lostpassword_post(”) #1 /html/wordpress/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #2 /html/wordpress/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #3 /html/wordpress/wp-content/plugins/frontend-reset-password/includes/somfrp-functions.php(343): do_action(‘…’) #4 /html/wordpress/wp-includes/class-wp-hook.php(324): somfrp_lost_pass_callback(‘…’) #5 /html/wordpress/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) #6 /html/wordpress/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #7 /html/wordpress/wp-content/plugins/frontend-reset-password/includes/somfrp-functions.php(297): do_action(‘…’, ‘…’) #8 /html/wordpress/wp-includes/class-wp-hook.php(324): somfrp_lost_pass_handler(‘…’) #9 /html/wordpress/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #10 /html/wordpress/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #11 /html/wordpress/wp-content/plugins/frontend-reset-password/includes/somfrp-functions.php(254): do_action(‘…’, ‘…’) #12 /html/wordpress/wp-includes/class-wp-hook.php(324): somfrp_post_request(”) #13 /html/wordpress/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #14 /html/wordpress/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #15 /html/wordpress/wp-includes/template-loader.php(13): do_action(‘…’) #16 /html/wordpress/wp-blog-header.php(19): require_once(‘…’) #17 /html/wordpress/index.php(17): require(‘…’) #18 {main} thrown in /html/wordpress/wp-content/plugins/wp-2fa/includes/classes/Authenticator/class-reset-passord.php on line 47
Any Advice on how to fix this? Help would be much appriciated.
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.