Fix Blank Screen in WordPress Admin

One day.

You login to your wp-admin in your website.

And…

Blank page.

If you can see the navigation bar on the left but you see a blank page on the right.

This is how you fix blank screen in WordPress admin

You need to have access to your files either through SFTP or Cpanel

Look for this file:

wp-admin\includes\screen.php around line 706

This line would say:

<?php echo self::$this->_help_sidebar; ?>

Edit this line to:

<?php echo $this->_help_sidebar; ?>

Save the file.

Refresh your wp-admin page.

Success.

You are not done yet

Now is the time to change your crappy hosting to WPengine

Follow this migration process

Related Post

Display Post Excerpts in WordPress WordPress is the simplest way to create a website or a blog. I have used Squarespace, Drupal, Octopress and built from scratch. These have their pr...
Go to the Previous Directory in Vim I use Vim. Vim is the most productive text editor if you know some vim commands When I open a file and I am done with it. I often want to go...
Export Data From Firebird Database to CSV File Background Some software applications use a database called Firebird. This is an open source database. If the software application is compiled you ca...
Installing Hipchat on Ubuntu Tested on: Ubuntu 12.04 LTS Thinkpad T400, 2GB RAM Intel Core 2 Duo CPU P8600, 32bit Sources: Official hipchat linux instructions Ask U...

20 thoughts on “Fix Blank Screen in WordPress Admin

    • Tom Post authorReply

      This was a bug on WordPress. A simple WordPress update or plugins can break your site. While this solution is just a “band-aid solution”. The best way to maintain a site is to have a staging site. Where you can install plugins and test things before installing them on your live site. I recommend Wpengine because they give you a staging site. You almost copy/paste your Live into Staging with one click.

  1. kokekaffe Reply

    PS! All admin pages except widgets.php work – on that page I cannot see the active widgets and edit them – only the idle ones – because the right column is missing, and the WP admin menu on toip is also missing. any suggestions?

    • Tom Post authorReply

      Sorry for the late response. If you solved this please let me know what you did. Perhaps consider WordPress managed hosting. Self hosting or other not-Wordpress specific hosting don’t have tools in place to monitor unstable plugins. Which is the main cause of these WordPress issues.

    • kokekaffe Reply

      And that, solved the javascript stuff not working:

      Old code not compatible with WP3.3 (which is also waaay old now..), need to be changed in function.php:

      From:
      wp_deregister_script(‘jquery’);
      wp_register_script(‘jquery’, (“http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js”), false, ‘1.7.1’);
      wp_enqueue_script(‘jquery’);

      to:
      function mytheme_enqueue_scripts() {
      wp_deregister_script(‘jquery’);
      wp_register_script(‘jquery’, (“http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js”), false, ‘1.7.1’);
      wp_enqueue_script(‘jquery’);
      }
      add_action(‘wp_enqueue_scripts’, ‘mytheme_enqueue_scripts’);

      • Tom Post authorReply

        You are right some WordPress installations don’t even have that. If you still have the “screen of death”. Just do an audit of the last things that were done to the site. Did they recently install a plugin?. Go to FTP, find that plugin and rename that directory to say it was “plugin1” to “plugin1-old”. If you don’t know which was the last Plugin installed. You might need to go to each one at a time. And see if the problem is fixed. If this doesn’t work. It might be a theme issue. You can disable the theme. FTP to wp-content. themes. rename the current theme like: It was “theme1” to “theme1-old”. Then WordPress will activate the default wordpress theme.

  2. snorkelman Reply

    Thanks, that was an easy fix and worked just fine. I have a few sites that I maintain that get *very* infrequent updates, and it seems like I hit some new glitch every time I go in. The right solution to this would be frequent admin visits and staying up to date, but that doesn’t pay the bills.

    • Tom Post authorReply

      This is correct. WordPress requires maintenance and you need to login at least once a week or once every 2 weeks to keep everything up to date. You also need to be careful installing plugins as they might be break your site. The best strategy for this is to keep a staging site. Copy the live site over to staging. Update WordPress, theme and play with plugins to see if they are stable. Deploy back to Live. This is often time consuming. I have been slowly implementing a different strategy. Instead of going with WordPress. Build the home page (and other pages) with a landing page platform and use Medium with a custom domain as the blog.

  3. prokopsdk Reply

    In my case, wp-admin/post.php blank screen was fixed by removing the ” ?> ” at the end of my function.php in my child theme. I don’t know how the end tag ended in there, but removing it solved my problems.

  4. Onofre Ramalhete Reply

    I’ve been hacked recently and took everything off. Now im reinstalling the site from the backups i have but I’m getting a white screen when accessing the login wp-admin. I tried straight deleting the plugins and even deleting the theme and child i was using to force wordpress to use the twenty fourteen. Forcing Twenty Eleven theme makes the whole site go blank.
    I simply cannot login to my back-end.

    Any ideas what’s causing the problem? Thanks!

    • Onofre Ramalhete Reply

      An update. Setting the debug to true i got these errors:

      Warning: Unterminated comment starting line 656 in /myhost/myhostuser/public_html/wp-admin/includes/class-wp-screen.php on line 656

      Parse error: syntax error, unexpected end of file, expecting function (T_FUNCTION) in /myhost/myhostuser/public_html/wp-admin/includes/class-wp-screen.php on line 663

      navigating to /wp-admin/includes/ i have no file called class-wp-screen.php

      Any ideas? Thanks

Leave a Reply