Hrithik Waghmare
Hrithik Waghmare

Reputation: 11

How can I solve this error "Fatal error: Cannot redeclare retrieve_password()"

I'm getting a error message when accessing 'wp-login.php' page and do not know how to fix it:

Fatal error: Cannot redeclare retrieve_password() (previously declared in E:\Inetpub\vhosts\winningbizzness.com\httpdocs\wp-login.php:311) in E:\Inetpub\vhosts\winningbizzness.com\httpdocs\wp-includes\user.php on line 2671

enter image description here

Upvotes: 1

Views: 3184

Answers (1)

Wiliam Jose Koester
Wiliam Jose Koester

Reputation: 11

I had the same issue here and it was caused by a WordPress update failure where some files were missing or corrupted.

I quickly resolved just reinstalling WordPress. In my case I used FTP, as in this guide: https://kinsta.com/blog/reinstall-wordpress/

Hope it helps anyone reading this answer!

Upvotes: 1

Related Questions