最新消息:

Loocol主题进wp后台报错处理办法-/Loocol/includes/update-checker.php on line 181

编程 eben 158浏览 0评论

Fatal error: Uncaught Error: Attempt to modify property “response” on bool in /www/wwwroot/www.hacvk.com/wp-content/themes/Loocol/includes/update-checker.php:181 Stack trace: #0 /www/wwwroot/www.hacvk.com/wp-includes/class-wp-hook.php(309): ThemeUpdateChecker->injectUpdate() #1 /www/wwwroot/www.hacvk.com/wp-includes/plugin.php(191): WP_Hook->apply_filters() #2 /www/wwwroot/www.hacvk.com/wp-includes/option.php(1960): apply_filters() #3 /www/wwwroot/www.hacvk.com/wp-includes/update.php(787): get_site_transient() #4 /www/wwwroot/www.hacvk.com/wp-admin/menu.php(33): wp_get_update_data() #5 /www/wwwroot/www.hacvk.com/wp-admin/admin.php(158): require(‘…’) #6 /www/wwwroot/www.hacvk.com/wp-admin/themes.php(10): require_once(‘…’) #7 {main} thrown in /www/wwwroot/www.hacvk.com/wp-content/themes/Loocol/includes/update-checker.php on line 181

由报错可见,有个文件非常重要

/wp-content/themes/Loocol/includes/update-checker.php

把update-checker.php文件改名看看继续报什么错误

Warning: require_once(/www/wwwroot/www.hacvk.com/wp-content/themes/Loocol/includes/update-checker.php): Failed to open stream: No such file or directory in /www/wwwroot/www.hacvk.com/wp-content/themes/Loocol/functions.php on line 98

Fatal error: Uncaught Error: Failed opening required '/www/wwwroot/www.hacvk.com/wp-content/themes/Loocol/includes/update-checker.php' (include_path='.:') in /www/wwwroot/www.hacvk.com/wp-content/themes/Loocol/functions.php:98 Stack trace: #0 /www/wwwroot/www.hacvk.com/wp-settings.php(566): include() #1 /www/wwwroot/www.hacvk.com/wp-config.php(97): require_once('...') #2 /www/wwwroot/www.hacvk.com/wp-load.php(50): require_once('...') #3 /www/wwwroot/www.hacvk.com/wp-admin/admin.php(34): require_once('...') #4 /www/wwwroot/www.hacvk.com/wp-admin/themes.php(10): require_once('...') #5 {main} thrown in /www/wwwroot/www.hacvk.com/wp-content/themes/Loocol/functions.php on line 98
此站点遇到了致命错误,请查看您站点管理员电子邮箱中收到的邮件来获得指引。

由报错可见,/wp-content/themes/Loocol/functions.php这个文件第98行

注释掉98-102行代码,将/wp-content/themes/Loocol/includes/update-checker.php文件名复原

测试后台可进

报错原因,Loocol主题相关网站挂了

建立数据库连接时出错

http://www.loome.net/

 

 

转载请注明:落伍老站长 » Loocol主题进wp后台报错处理办法-/Loocol/includes/update-checker.php on line 181

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址