@wpenhanced
Hi, sorry for the delay in noticing.
I’m not seeing the error on my end either with Frontend Reset Password by itself, but the do_action( 'lostpassword_post' );
tag I shared when I commented last time requires two arguments, so this action is not working when calling frontend-reset-password/ include/somfrp-functions.php:L343
, the error seems to be caused by a function set up by another plugin that expects two arguments.
In my case, the plugin New User Approve
sets a function in the above hook, so the error is caused in the processing of this plugin.
Fatal error: Uncaught ArgumentCountError: Too few arguments to function pw_new_user_approve::lost_password(), 1 passed in /home/www/wp/wp-includes/class-wp-hook.php on line 307 and exactly 2 expected in /home/www/wp/wp-content/plugins/new-user-approve/new-user-approve.php:813 Stack trace: #0 /home/www/wp/wp-includes/class-wp-hook.php(307): pw_new_user_approve->lost_password('') #1 /home/www/wp/home/www/wp/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array) #2 /home/www/wp/wp-includes/plugin.php(476): WP_Hook->do_action(Array) #3 /home/oikaze-test-sv3/www/test-let-kids/wp-content/plugins/frontend-reset-password/includes/somfrp-functions.php(343): do_action('lostpassword_po...') #4 /home/www/wp/wp-includes/class-wp-hook.php(307): somfrp_lost_pass_callback('tnagatomo+test@...') #5 /home/www/wp/wp-includes/class-wp-hook.php(331): WP_H in /home/www/wp/wp-content/plugins/new-user-approve/new-user-approve.php on line 813