How to fix empty dashboard issue in WordPress?

A site of my company uses blog on WordPress 3.3.1 with theme based on Twenty Ten. Last week I upgraded Apache and PHP on our production server. Afterwards the dashboard refused to work. When a user logs in, a blank dashboard appears. A menu with links is still present, but none of the links work, so one cannot create new posts etc. In the page source I see the following message:

Fatal error: Access to undeclared static property: WP_Screen::$this in
blog/wp-admin/includes/screen.php on line 706

There were no changes to WordPress configuration made and no new plugins installed. How to fix the issue?


There is a bug in WordPress 3.3.1 causing the issue. It may affect other versions as well.

To solve the issue you can update WordPress to the current stable release and do integration testing afterwards. Or you can do a quick bug fix.

To fix the bug:

  1. Open file blog/wp-admin/includes/screen.php in your favorite text editor.
  2. On line 706 find the following PHP statement: <?php echo self::$this->_help_sidebar; ?>
  3. Replace it with the statement: <?php echo $this->_help_sidebar; ?>
  4. Save your changes.

Hope it helps you.

Leave a Comment