WordPress自动更新后出现白屏死亡

时间:2018-12-17 作者:lisa

我的网站-www.In2BalanceKInesiology.com.au 几天前有一个WordPress自动更新,但我一直无法访问它-它是一个白色的死亡屏幕。。。

2 个回复
SO网友:Remzi Cavdar

首先,通过在您的wp-config.php 文件:

define( \'WP_DEBUG\', true );
之后,您还可以通过在wp-config.php 文件:

define( \'WP_MAX_MEMORY_LIMIT\', \'256M\' );
有关编辑的详细信息wp-config.php 文件/WordPress配置文件,请参阅:https://codex.wordpress.org/Editing_wp-config.php

有关调试的详细信息,请参阅以下和/或此链接:https://codex.wordpress.org/Debugging_in_WordPress

wp配置示例。php用于调试以下代码,插入到wp配置中。php文件,将所有错误、通知和警告记录到名为debug的文件中。登录wp内容目录。它还将显示错误。

// Enable WP_DEBUG mode
define( \'WP_DEBUG\', true );

// Enable Debug logging to the /wp-content/debug.log file
define( \'WP_DEBUG_LOG\', true );

// The SAVEQUERIES definition saves the database queries to an array and that array can be displayed to help analyze those queries.  
define( \'SAVEQUERIES\', true );

SO网友:Karan Naimish Trivedi
Steps to follow for solving  white screen of death issue are as follows:

1) Please Enable Debug Mode true in wp-config.php file using 
define( \'WP_DEBUG\', true );
2) If any message does not appear in frontend or backend then deactivate all the plugins and try to activate it one by one and check it in frontend and backend. You can deactivate it using commenting the -- at the starting of folder name of plugin.
3) If any message does not appear by checking plugins comment all the themes same as plugins by renaming it -- at the starting of folder name of themes.

相关推荐