Hi,
I am getting the following error when entering a username or email that has not registered on my site in the password recovery page.
Fatal error: Class 'ClientError' not found in /home/MYSITE/public_html/classes/User.php on line 1089
Here it the code in question:
}
if (!$user) {
// TRANS: Information on password recovery form if no known username or e-mail address was specified.
throw new ClientError(_('No user with that email address or username.'));
return;
}
Is there an error in this code? How can I correct this issue?
Thank you.