【发布时间】:2019-11-15 08:29:12
【问题描述】:
我想升级 Wordpress 安装,我从我的 WP ADMIN 面板单击升级到最新版本链接,并发布它要求我提供更新的 FTP 详细信息,其中输入了 FTP 详细信息并开始升级。几分钟后,我得到了错误,现在 WP ADMIN 没有加载。我试图清除浏览器缓存和 cookie,但仍然无法正常工作。请帮助解决问题。
There has been a critical error on your website. Please check your site admin email inbox for instructions.
Learn more about debugging in WordPress.
我已进一步尝试调试并在 wp-config 中添加了以下代码,但在路径 /wp-content/debug.log 文件中也没有在页面上收到任何错误 在那里。
// Enable WP_DEBUG mode
define( 'WP_DEBUG', true );
// Enable Debug logging to the /wp-content/debug.log file
define( 'WP_DEBUG_LOG', true );
// Disable display of errors and warnings
define( 'WP_DEBUG_DISPLAY', false );
@ini_set( 'display_errors', 0 );
// Use dev versions of core JS and CSS files (only needed if you are modifying these core files)
define( 'SCRIPT_DEBUG', true );
【问题讨论】:
-
尝试重命名 plugin 目录并测试站点是否正常工作。如果不是这样,请恢复并手动升级。在做这些事情之前。请备份
-
通过从站点下载安装文件手动重做安装。有时会发生这种情况是正常的 :) 请记住,在进行任何升级之前,您必须进行备份