我正在将当前的Eduma主题更新为最新版本(3.0.9.1),目前的版本是3.0.7。我正在运行WordPress 4.7.5。
但是,在运行更新时,我得到Update Failed: Internal Server Error
安装过程中的消息。所以我启动了这个过程,它运行了一分钟,然后它就停止了工作,我陷入了维护模式。所以我必须手动删除.maintenance
来自我的服务器的文件。
我截图了我在错误中看到的内容。
我在WordPress网站上运行了调试模式,这就是我所拥有的
[31-May-2017 15:17:27 UTC] PHP Warning: preg_match() expects parameter 2 to be string, object given in /home/ccbbc/public_html/wp-admin/includes/class-wp-upgrader.php on line 269
[31-May-2017 15:17:27 UTC] PHP Warning: file_exists() expects parameter 1 to be a valid path, object given in /home/ccbbc/public_html/wp-admin/includes/class-wp-upgrader.php on line 269
[31-May-2017 15:17:27 UTC] PHP Warning: strip_tags() expects parameter 1 to be string, object given in /home/ccbbc/public_html/wp-admin/includes/class-bulk-upgrader-skin.php on line 61
[31-May-2017 15:17:27 UTC] PHP Warning: parse_url() expects parameter 1 to be string, object given in /home/ccbbc/public_html/wp-admin/includes/file.php on line 497
[31-May-2017 15:17:27 UTC] PHP Warning: strpos() expects parameter 1 to be string, object given in /home/ccbbc/public_html/wp-content/plugins/envato-market/inc/github.php on line 160
[31-May-2017 15:17:27 UTC] PHP Warning: Attempt to modify property of non-object in /home/ccbbc/public_html/wp-content/plugins/envato-market/inc/github.php on line 166
[31-May-2017 15:17:27 UTC] PHP Warning: strpos() expects parameter 1 to be string, object given in /home/ccbbc/public_html/wp-content/plugins/thim-core/admin/class-thim-self-update.php on line 118
[31-May-2017 15:17:27 UTC] PHP Warning: strpos() expects parameter 1 to be string, object given in /home/ccbbc/public_html/wp-content/plugins/envato-market/inc/items.php on line 213
[31-May-2017 15:17:27 UTC] PHP Notice: Undefined index: themes in /home/ccbbc/public_html/wp-content/plugins/envato-market/inc/items.php on line 223
[31-May-2017 15:17:27 UTC] PHP Warning: strpos() expects parameter 1 to be string, object given in /home/ccbbc/public_html/wp-content/plugins/envato-market/inc/items.php on line 235
[31-May-2017 15:17:27 UTC] PHP Warning: strpos() expects parameter 1 to be string, object given in /home/ccbbc/public_html/wp-content/plugins/thim-core/admin/class-thim-auto-upgrader.php on line 217
[31-May-2017 15:17:27 UTC] PHP Warning: strpos() expects parameter 1 to be string, object given in /home/ccbbc/public_html/wp-content/plugins/thim-core/admin/class-thim-auto-upgrader.php on line 189
[31-May-2017 15:17:27 UTC] PHP Catchable fatal error: Object of class WP_Error could not be converted to string in /home/ccbbc/public_html/wp-includes/kses.php on line 1248
[31-May-2017 15:17:46 UTC] PHP Warning: preg_match() expects parameter 2 to be string, object given in /home/ccbbc/public_html/wp-admin/includes/class-wp-upgrader.php on line 269
[31-May-2017 15:17:46 UTC] PHP Warning: file_exists() expects parameter 1 to be a valid path, object given in /home/ccbbc/public_html/wp-admin/includes/class-wp-upgrader.php on line 269
[31-May-2017 15:17:46 UTC] PHP Catchable fatal error: Object of class WP_Error could not be converted to string in /home/ccbbc/public_html/wp-admin/includes/class-automatic-upgrader-skin.php on line 79
这是主题本身及其组成部分的问题吗;还是我的服务器有问题?如果这是我的问题,我应该如何解决这个问题?
试图接触Eduma是一次可怕的经历,但收效甚微。此外,这不是我第一次在更新Eduma主题时遇到问题。