Support » Fixing WordPress » Fatal error blocking access to most of Admin

  • I have been asked to update this site

    Background situation— The theme is a heavily customized Eximius theme, which may have been purged from the listings because it is not being kept updated. This site customized the theme heavily, but without turning it into a child theme. It is backed up by iDrive, a plugin no longer supported, so I want to pursue all alternatives before resorting to installing the backup. (A new backup method was at the top of the list, to be followed by WordPress!)

    The problem— Most of the Admin panel is inaccessible. It opens into the media library, but all other links yield:

    Fatal error: Call to undefined function get_current_screen() in /home/dynamict/public_html/wp-content/plugins/all-in-one-seo-pack/aioseop_module_class.php on line 612

    Since I am unable to access the plugins page I can’t disable All in One SEO Pack. I have to jump through some hoops to get FTP access, and I’m not at all confident that just removing the plugin wouldn’t risk compounding what is already a bad situation. It is also not clear that this plugin is the root cause. It is quite possible that some of the plugins are updated to run with newer versions of WordPress than what is currently running on the site, but since I can’t access the page I can’t even say with certainty what those plugins are, much less their versions.

    Short of starting to explore the backups, can anyone suggest how I might regain access and do some repairs?

Viewing 3 replies - 1 through 3 (of 3 total)
  • I doubt you can do anything without file level access – either FTP or other file manager the hosting company uses. Generally, you can then deactivate all plugins by changing the name on the plugins folder to something like “pluginsOLD”




    Read carefully:
    – all your data including the ones created by your themes and plugins are stored in your MySQL database. So, deleting, deactivating, etc. of plugins will not make the site lose data.
    – from what you describe, you need to go with a clean slate, including reverting to the default theme and reinstalling WordPress
    – I do not know about the fate of unsupported and non-updated plugins and themes except that they can create a lot of problems including security risks
    – before you start working, backup your entire site, including database.
    And start from here:
    – deactivate all plugins and see if the problem persists. If it solves the problem, activate plugins one by one until you find the problematic one
    – revert to the default theme and see if the issue is theme-specific
    – delete any inactive plugins
    reinstall WordPress manually from a freshly downloaded copy except wp-content. Do not overwrite files/ folders but delete them before reinstalling.

    Edit: Sorry, WPyogi, I took a bit more time and did not know that you were answering this.

    Thank you to you both. Hopefully the site owner will be more interested in regular maintenance after this!

    If I try the first approach of just disabling all of the plugins, will there be things left undone that would normally be cleaned up during a regular uninstall?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal error blocking access to most of Admin’ is closed to new replies.