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, 11 months ago by sunrise95.