• Resolved phbrowne

    (@phbrowne)


    I had LOTS of problems updating to 5.3.2. I originally clicked on the link in my WP dashboard and that’s when it blew up. This has not been a fun 24 hours….

    White screen of death (WSD) on both the site page and the wp-admin.

    Managed to fix the site page (sort of, limping along but I can at least see the page now)

    Trying to log into the /wp-admin throws an error

    When I look at the error logs, this is what I see

    [DATE] PHP Fatal error: Uncaught Error: Call to undefined function wp_recovery_mode() in /home/xx/public_html/SITE.com/wp-includes/load.php:811
    Stack trace:
    #0 /home/xx/public_html/SITE.com/wp-includes/load.php(760): wp_is_recovery_mode()
    #1 /home/xx/public_html/SITE.com/wp-settings.php(477): wp_get_active_and_valid_themes()
    #2 /home/xx/public_html/SITE.com/wp-config.php(102): require_once(‘/home/xx…’)
    #3 /home/xx/public_html/SITE.com/wp-load.php(37): require_once(‘/home/xx…’)
    #4 /home/xx/public_html/SITE.com/wp-blog-header.php(13): require_once(‘/home/xx…’)
    #5 /home/xx/public_html/SITE.com/index.php(17): require(‘/home/xx…’)
    #6 {main}
    thrown in /home/xx/public_html/SITE.com/wp-includes/load.php on line 811

    [DATE] PHP Fatal error: Cannot redeclare get_available_post_mime_types() (previously declared in /home/xx/public_html/SITE.com/wp-includes/post.php:7141) in /home/xx/public_html/SITE.com/wp-admin/includes/post.php on line 1194
    [DATE] PHP Fatal error: Cannot redeclare get_available_post_mime_types() (previously declared in /home/xx/public_html/SITE.com/wp-includes/post.php:7141) in /home/xx/public_html/SITE.com/wp-admin/includes/post.php on line 1194

    Here is what I have done:

    Renamed plugins folder (many, many times)
    Manually edited the DB to turn off all active plugins

    Manually edited the DB to turn off all active themes and forced it to TwentyNineteen but all I have is the posts showing – none of the site structure, pages, or menus.

    Manually updated the WP install (copied a fresh copy of WP 5.3.2. and copied up via FileZilla) Moved my uploads folder and my wp-config file to a backup and restored them manually after the install.

    Double/triple checked the wp-config file.

    Upgraded php to 7.3 (it was 7.2 prior to the original update)

    Googled this problem incessantly…all the standard fixes don’t seem to be doing it.

    I have run out of ideas….please help!

    • This topic was modified 5 years, 2 months ago by phbrowne.
    • This topic was modified 5 years, 2 months ago by phbrowne. Reason: needed to include a longer version of the error message

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter phbrowne

    (@phbrowne)

    UPDATE: Still working the problem…..

    Changed the DB number in WP_OPTIONS to match.

    The old DB number was 44719
    The WP-Config version indicated it should have updated to 45805

    Now I am getting a slightly different error message when I go to /wp-admin

    Fatal error: Cannot redeclare get_available_post_mime_types() (previously declared in /home/xx/public_html/SITE.com/wp-includes/post.php:7141) in /home/xx/public_html/SITE.com/wp-admin/includes/post.php on line 1194

    Thread Starter phbrowne

    (@phbrowne)

    UPDATE: It’s fixed….I think

    Checked the DB and got no errors

    Pretty frustrated at this point so I decided to blow up the install.

    Deleted the wp-admin and wp-includes folders via FileZilla FTP
    Reloaded clean copies into empty directories
    Left the wp-content folder and the ancillary wp files that are in the main directory (outside those three folders) alone.

    Success…I can now access my dashboard

    Now I am going to (very very carefully) begin reinstalling themes and plugins

    Still not sure exactly what was wrong. I did a clean install once already and it did not fix the problem last night.

    I am not going to tempt the Gods of WP and just going to do the happy dance that I can get back into the dashboard.

    • This reply was modified 5 years, 2 months ago by phbrowne.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Upgraded to 5.3.2 and getting critical error accessing wp-admin’ is closed to new replies.