• Resolved alexwolf7

    (@alexwolf7)


    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]

Viewing 1 replies (of 1 total)
  • Plugin Support Lucian Padureanu

    (@lucianwpwhite)

    Hello alexwolf7!

    I am sorry to hear about this experience with our plugin!

    I was able to reproduce this myself based on the details sent to us via email directly, but after troubleshooting this with the developer, we came to the conclusion that there’s nothing we can really do from our plugin side in order to prevent this,

    To elaborate, the error does not originate from our plugin’s code but from the code of the other plugin, which seems to not follow the most recent WordPress standards and will surely need some tweaking.

    Basically, to offer a few technical details about the error – our plugin expects two parameters (as per most recent WordPress standards), but the other plugin sends only one.

    I would therefore suggest you present this to the developers of the My Frontend Password Reset?plugin, as they will surely know how to handle this from their side and also most probably offer you a solution for this.

    Let me know how it goes and if there are any other questions.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.