PDA

View Full Version : Wordpress admin area blank pages



Fli
04-27-2014, 10:37 AM
Hello,

please anyone can help there? the pages ina dmin area shows blank:

108

:-(

How to turn on PHP error reporting?

Add this after <?php into wp-config.php file:


/*** This will log all errors notices and warnings to a file called debug.log in
* wp-content (if Apache does not have write permission, you may need to create
* the file first and set the appropriate permissions (i.e. use 666) )
*/
define(‘WP_DEBUG’, true);
define(‘WP_DEBUG_LOG’, true);
define(‘WP_DEBUG_DISPLAY’, false);
@ini_set(‘display_errors’,0);

Then reload erroneous wordpress page and check wp-content/debug.log file

mine returned errors:

[27-Apr-2014 10:24:22 UTC] PHP Fatal error: Access to undeclared static property: WP_Screen::$this in /home/*/public_html/_sub/mysite.info/wp-admin/includes/screen.php on line 706

When added "Access to undeclared static property: WP_Screen::$this in" into Google it returned a fix:

Replace:

echo self::$this->_help_sidebar;

by:

echo $this->_help_sidebar;

in wp-admin/includes/screen.php

Then blank screen admin area errors should be fixed. Turn off error reporting in wp-config.php

kumkum
12-13-2021, 01:19 PM
Mostly this issue occur when we update plugins, first we can check by renaming the plugin folder.
After renaming the folder try to access wp-login.php file. If you are able to access the file then check all your plugins one by one.
This is the basic method the resolve blank page issue (https://hoststud.com/resources/how-to-fix-wordpress-white-screen-of-death.95/).