Search Engine: Elastic

Article ID: 125126, created on Apr 5, 2015, last review on Apr 5, 2015

  • Applies to:
  • Plesk Automation 11.5

Symptoms

WP admin CP does not work properly after the website was migrated.

The domains error log throws the following error:

[Sat Mar 14 16:54:47 2015] [error] [client 203.0.113.2] PHP Fatal error:  Access to undeclared static property: WP_Screen::$this in /var/www/vhosts/example.com/httpdocs/wp-admin/includes/screen.php on line 706

Cause

Unhandled parameter defined in the source code.

Resolution

  1. Backup the original file:

    cp /var/www/vhosts/ornekofset.com/httpdocs/wp-admin/includes/screen.php{,.back}
    
  2. Open it on line 706 and replace:

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

    with the

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

33a70544d00d562bbc5b17762c4ed2b3 caea8340e2d186a540518d08602aa065 e0aff7830fa22f92062ee4db78133079

Email subscription for changes to this article
Save as PDF