无法将WP 5.6升级到5.6.1:缺少Version-Current.php

时间:2021-02-04 作者:Jim Miller

正如上面所说:我目前正在运行WP 5.6(在PHP 7.4.13和CentOS 7.9.2009的基础上),我收到了一个通知,WP 5.6.1可用,我应该升级。我正在通过;立即升级“;升级核心上的按钮。php,并获取:

Downloading update from https://downloads.wordpress.org/release/wordpress-5.6.1-no-content.zip… 
The authenticity of wordpress-5.6.1-no-content.zip could not be verified as no signature was found. 
Unpacking the update… 
Verifying the unpacked files… 
There has been a critical error on this website. Please check your site admin email inbox for instructions.
正在检查调试。日志,我发现:

[04-Feb-2021 21:48:11 UTC] PHP Warning: require(/var/www/html/example/wp-content/upgrade/version-current.php):
failed to open stream: No such file or directory in
/var/www/html/example/wp-admin/includes/update-core.php on line 949
[04-Feb-2021 21:48:11 UTC] PHP Fatal error:  require(): Failed opening required
\'/var/www/html/example/wp-content/upgrade/version-current.php\'
(include_path=\'.:/usr/share/pear:/usr/share/php:/var/www/html/example/wp-content/plugins/ssh-sftp-updater-support/phpseclib/\')
in /var/www/html/example/wp-admin/includes/update-core.php on line 949
错误正确:wp内容/升级/版本当前没有文件。php——事实上,没有;升级";wp content下的子目录。我有点迷路了;有人知道发生了什么事吗?我可能知道什么?谢谢

1 个回复
SO网友:Gert

快速简便的解决方案是手动更新。从wordpress下载wordpress包。组织并解压缩到服务器。https://wordpress.org/support/article/updating-wordpress/#manual-update

相关推荐

Wordpress Auto Updates

我需要在我的Wordpress上进行自动更新,这样我就可以跟踪抄本了here. 我需要的是从4.2.2到4.2.3和4.3等所有更新。。我的服务器上不需要FTP凭据。我的问题是我的WP没有更新。我做错什么了吗?我的Wordpress多久检查一次更新?这是我的wp-config.php, 我刚刚补充说define(\'WP_AUTO_UPDATE_CORE\', true); 到原始文件。define(\'DB_NAME\', \'xXyYzZtT\'); define(\'DB_USER\', \