解决白屏死亡后无法登录WordPress站点

时间:2021-07-28 作者:Danger14

我有一个白色的死亡屏幕,我有点能够解决。我将PHP从7.0更新为7.3.2,从wp配置中删除了BOM。php,并删除了wp超级缓存插件<通过查看该网站上的其他问题,我推断这是由不完整或中断的自动更新造成的/wp-login.php

Warning: include_once(/hermes/bosnaweb21a/b783/apo.xyz/wp-content/plugins/wp-super-cache/wp-cache-phase1.php): failed to open stream: No such file or directory in /hermes/bosnacweb04/bosnacweb04ck/b783/apo.xyz/wp-content/advanced-cache.php on line 20

Warning: include_once(): Failed opening \'/hermes/bosnaweb21a/b783/apo.xyz/wp-content/plugins/wp-super-cache/wp-cache-phase1.php\' for inclusion (include_path=\'.:/usr/local/lib/php-7.3.2-xenial/lib/php\') in /hermes/bosnacweb04/bosnacweb04ck/b783/apo.xyz/wp-content/advanced-cache.php on line 20

Warning: Cannot modify header information - headers already sent by (output started at /hermes/bosnacweb04/bosnacweb04ck/b783/apo.xyz/wp-content/advanced-cache.php:20) in /hermes/bosnacweb04/bosnacweb04ck/b783/apo.xyz/wp-login.php on line 447

Warning: Cannot modify header information - headers already sent by (output started at /hermes/bosnacweb04/bosnacweb04ck/b783/apo.xyz/wp-content/advanced-cache.php:20) in /hermes/bosnacweb04/bosnacweb04ck/b783/apo.xyz/wp-login.php on line 462

Warning: Cannot modify header information - headers already sent by (output started at /hermes/bosnacweb04/bosnacweb04ck/b783/apo.xyz/wp-content/advanced-cache.php:20) in /hermes/bosnacweb04/bosnacweb04ck/b783/apo.xyz/wp-includes/pluggable.php on line 928

Warning: Cannot modify header information - headers already sent by (output started at /hermes/bosnacweb04/bosnacweb04ck/b783/apo.xyz/wp-content/advanced-cache.php:20) in /hermes/bosnacweb04/bosnacweb04ck/b783/apo.xyz/wp-includes/pluggable.php on line 929

Warning: Cannot modify header information - headers already sent by (output started at /hermes/bosnacweb04/bosnacweb04ck/b783/apo.xyz/wp-content/advanced-cache.php:20) in /hermes/bosnacweb04/bosnacweb04ck/b783/apo.xyz/wp-includes/pluggable.php on line 930
On home page 我在主页顶部看到这个

Warning: include_once(/hermes/bosnaweb21a/b783/apo.northda5/wp-content/plugins/wp-super-cache/wp-cache-phase1.php): failed to open stream: No such file or directory in /hermes/bosnacweb04/bosnacweb04ck/b783/apo.xyz/wp-content/advanced-cache.php on line 20

Warning: include_once(): Failed opening \'/hermes/bosnaweb21a/b783/apo.northda5/wp-content/plugins/wp-super-cache/wp-cache-phase1.php\' for inclusion (include_path=\'.:/usr/local/lib/php-7.3.2-xenial/lib/php\') in /hermes/bosnacweb04/bosnacweb04ck/b783/apo.xyz/wp-content/advanced-cache.php on line 20

enter image description here

有没有办法修复?

非常感谢。

1 个回复
最合适的回答,由SO网友:Pat J 整理而成

当你说你删除了WP超级缓存插件:你是停用了该插件,还是只是删除了plugins/wp-super-cache 目录我怀疑是后者,因为您的站点似乎仍在尝试加载WP超级缓存文件。

您可能需要更新wp-config.php 要删除的文件define( \'WP_CACHE\', true ); 线

你可能想检查一下support thread, 本文还讨论了完全删除WP超级缓存可能需要采取的步骤。