• Resolved chriszim

    (@chriszim)


    Hello,

    I have a problem with the password reset.

    If I go to Dashboard / Users and click in the user list on “Send password reset” for a user, I get this error:

    Warning: Undefined array key "user_login" in /homepages/17/123/htdocs/www/wp-content/plugins/new-user-approve/new-user-approve.php on line 814

    Warning: Undefined array key "user_login" in /homepages/17/123/htdocs/www/wp-content/plugins/new-user-approve/new-user-approve.php on line 817

    Warning: Cannot modify header information - headers already sent by (output started at /homepages/17/123/htdocs/www/wp-content/plugins/new-user-approve/new-user-approve.php:814) in /homepages/17/123/htdocs/www/wp-includes/pluggable.php on line 1416

    Warning: Cannot modify header information - headers already sent by (output started at /homepages/17/123/htdocs/www/wp-content/plugins/new-user-approve/new-user-approve.php:814) in /homepages/17/123/htdocs/www/wp-includes/pluggable.php on line 1419

    The user does not receive an email. I get this error when the user is approved and also when the user is denied.

    If the user tries even via wp-login.php?action=lostpassword, the message from WordPress is displayed, but no email is sent. I tried this with different emails/users.

    WordPress Version: 6.1.1
    New User Approve Version: 2.5
    Used language: German
    PHP Version: 8.0.26

    I have another test installation (WordPress 6.1.1, PHP 7.4.33 and New User Approve 2.5) and there the password reset works without any problems.

    Any suggestion what is wrong? Is there maybe a problem with PHP 8.x?

    Thanks for help, Chris

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Mirza Hamza

    (@hamza1010)

    Hi @chriszim,

    Thanks for contacting us,

    I hope you are doing well, We have to check this and we will keep you updated on this.

    Thanks & Regards

    WP Experts Support Team

    • This reply was modified 2 years, 3 months ago by Mirza Hamza.
    Plugin Support Mirza Hamza

    (@hamza1010)

    Hi @chriszim,

    We have fixed this issue. You can use this link to download the updated plugin. Please update the plugin and let me know if you still have any issues.

    Thank you

    Thread Starter chriszim

    (@chriszim)

    Hi Mirza,

    thanks for the fast help!

    Now after I click on “Send password reset” I get the normal response message from WordPress (“Password reset link sent.”), but still no email is received.

    Plugin Support Mirza Hamza

    (@hamza1010)

    Hi @chriszim,

    Reset password email is only sent to those users who are already approved.

    It seems like you are sending a password reset email to a non-approve user (pending/deny) that is why this is happening. Currently, WordPress not allowing other plugins to throw errors while using this way of password reset otherwise you can see in the video it is throwing errors if the user status is not approved.

    Here is the video: ( Screencast video ).

    Thank you

    Thread Starter chriszim

    (@chriszim)

    Hi Mirza,

    I found out that there was a second, general problem with sending emails. I was able to fix that, now the bugfix version works fine. Will the bugfix come in the official version?

    Thanks again and I wish you a Happy New Year!

    Plugin Support Mirza Hamza

    (@hamza1010)

    Hi @chriszim,

    We will release in the upcoming version.

    Also, we would appreciate a kind and honest review.

    Thank you

    • This reply was modified 2 years, 2 months ago by Mirza Hamza.
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Reset password not working’ is closed to new replies.