Support » Fixing WordPress » 500 error when accessing wp-admin

  • Resolved waldopepper

    (@waldopepper)


    Hi, a WP site I have been asked to check out hasn’t been maintained for a while, likely had something update (or not update for a while) and break it!

    WordPress is sort of working, the site is showing the background and top-level menu, but nothing else is displayed (no page content showing, just literally the top menu).

    Browsing to /wp-admin shows this error message:
    This page isn’t working. http://www.#####.com is currently unable to handle this request.
    HTTP ERROR 500

    I have tried all the usual ways of narrowing this down, via FTP, renaming the Plugins directory (no change) and then the Theme directory (it just displays a message saying theme not found).

    So I’m a bit lost as to what to try next, any ideas? Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Provided you have the option to make a backup and in case of need fully restore this backup, and perform that backup, for both the files and the database, and in addition quickly download to disk a copy of the plugins and themes directories, I would suggest you try a forceful reinstallation of wordpress, with its latest version.

    It would mean taking the wordpress zip archive from wordpress.org, removing the wp-admin, wp-includes, wp-content directories from your hosting (I mentioned backups, right?), and uploading the contents of the wordpress zip archive to your hosting, accepting to overwrite the php files at the site’s root.

    Attempting to load your blog afterwards would cause a database upgrade (I am certain I mentioned backups) and a reset of everything that regards plugins and themes, plus it would make the blog work with the latest wordpress version.

    Hopefully, it should work to fix whatever problem you have.

    Now, if the blog NEEDS its old contents, such as themes or plugins, they would have to be restored, one by one, to see if suddenly the error 500 is back (and then we have a culprit, and know it’s that one that needs fixing.)

    • This reply was modified 1 year, 5 months ago by Sabinooo.
    Thread Starter waldopepper

    (@waldopepper)

    Hi, THANK YOU so much for this, doing the above and re-uploading WordPress did trigger an upgrade and let me get into the Dashboard. I have been re-installing everything since, weirdly with plugins all back, the site didn’t error but was still just showing the menu and no page content.

    I read online that the debug errors showing e.g. Fatal error: Uncaught Error: [] operator not supported for strings in Revslider plugin is sometimes caused by the PHP version not working, I dropped this down a few versions but it still wasn’t working. After leaving it overnight, it’s now showing everything except Revslider (slideshow) content so we’re almost there!

    Thanks again for your help, I wouldn’t have been able to make any headway without at least getting back to the dashboard.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘500 error when accessing wp-admin’ is closed to new replies.