• Hi,

    I entered my email for reset password and it wrote – ‘Password reset link not sent.’

    how can I fix this??

    I saw some other ppl having the same problem, is there a solution?

    thanks in advance,
    Ofra

    • This topic was modified 6 years, 4 months ago by ofrashterzer.
Viewing 1 replies (of 1 total)
  • Hi.
    I’ve encountered a similar problem.
    How to fix:
    1. Open file /wp-content/plugins/wp-custom-register-login/public/class-wp-custom-register-login-public.php
    2. Search for the line `public function

    wpcrl_send_reset_password_token($userdata)`

    3. Look for this line in the end of the function we allocated before

    return mail($to, $subject, $message, $headers);

    4. Insert this line before it

    $headers = implode("\r\n", $headers);

    ,so you should now have the following

    $headers = implode("\r\n", $headers);
    return mail($to, $subject, $message, $headers);

    Now you should be able to set password reset links

    The problem was that $headers must be a string with \r\n parameter separator, while here we have $headers as an array. So basically all this line does is gluing array into string

    • This reply was modified 6 years, 4 months ago by sunrise95.
Viewing 1 replies (of 1 total)
  • The topic ‘reset password is not working’ is closed to new replies.