#52770 closed defect (bug) (invalid)
Cannot redeclare retrieve_password() error in 5.7
Reported by: | khr2003 | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 5.7 |
Component: | Login and Registration | Keywords: | |
Focuses: | Cc: |
Description
The latest update is causing this error when trying to login:
PHP Fatal error: Cannot redeclare retrieve_password() (previously declared in /opt/bitnami/apps/wordpress/htdocs/wp-login.php:357) in /opt/bitnami/apps/wordpress/htdocs/wp-includes/user.php on line 2671
as suggested by the error retrive_password is duplicated in the two files. I looked at the source and it seems wp-login.php is the old version so it needs to be deleted.
Change History (4)
#1
@
4 years ago
- Resolution set to invalid
- Severity changed from major to normal
- Status changed from new to closed
#3
follow-up:
↓ 4
@
4 years ago
- Keywords needs-patch removed
Just noting that retrieve_password()
was indeed moved from wp-login.php
to wp-includes/functions.php
in [50129] and further to wp-includes/user.php
in [50140] / #34281.
So this seems to be a case of an incomplete upgrade. Downloading the latest version of WordPress and replacing the wp-login.php
file with a fresh copy should fix the issue.
#4
in reply to:
↑ 3
@
3 years ago
Replying to SergeyBiryukov:
Just noting that
retrieve_password()
was indeed moved fromwp-login.php
towp-includes/functions.php
in [50129] and further towp-includes/user.php
in [50140] / #34281.
So this seems to be a case of an incomplete upgrade. Downloading the latest version of WordPress and replacing the
wp-login.php
file with a fresh copy should fix the issue.
@SergeyBiryukov You are right. I was not able to update WordPress through admin area due to file permissions inconsistencies. I tried to do it manually and did not replace all files.
Hi @khr2003,
Welcome to Trac!
I see that you've closed this ticket out. Can you please just confirm you were able to solve the problem that you were having? Any additional details you are able to share will also help document this problem for others in the future.