
禅道18.11版本, 已正常运行数月, 今天突然出现代码级报错已解决
悬赏5积分
Fatal error: Uncaught Error: Call to a member function isOpenMethod() on bool in /apps/zentao/framework/base/control.class.php:215 Stack trace: #0 /apps/zentao/framework/control.class.php(34): baseControl->__construct('', '', '') #1 /apps/zentao/module/index/control.php(24): control->__construct() #2 /apps/zentao/framework/base/router.class.php(1593): index->__construct() #3 /apps/zentao/www/index.php(73): baseRouter->setParams() #4 {main} thrown in /apps/zentao/framework/base/control.class.php on line 21510:36:43 Uncaught Error: Call to a member function isOpenMethod() on bool in /apps/zentao/framework/base/control.class.php:215Stack trace:#0 /apps/zentao/framework/control.class.php(34): baseControl->__construct('', '', '')#1 /apps/zentao/module/index/control.php(24): control->__construct()#2 /apps/zentao/framework/base/router.class.php(1593): index->__construct()#3 /apps/zentao/www/index.php(73): baseRouter->setParams()#4 {main}thrown in /apps/zentao/framework/base/control.class.php on line 215 when visitingFatal error: Uncaught EndResponseException in /apps/zentao/framework/base/router.class.php:3487 Stack trace: #0 /apps/zentao/framework/helper.class.php(323): EndResponseException::create('') #1 /apps/zentao/framework/base/router.class.php(3143): helper::end() #2 /apps/zentao/framework/router.class.php(350): baseRouter->saveError(1, 'Uncaught Error:...', '/apps/zentao/fr...', 215) #3 /apps/zentao/framework/base/router.class.php(2998): router->saveError(1, 'Uncaught Error:...', '/apps/zentao/fr...', 215) #4 [internal function]: baseRouter->shutdown() #5 {main} thrown in /apps/zentao/framework/base/router.class.php on line 3487
重新build docker容器也无法恢复, 一定要解掉/data的挂载才能访问, 但是这样一来数据就没了
禅道版本:禅道开源版 18.11
安装包类型:Linux安装包
操作系统:CentOS
客户端浏览器:
🚢 登录下禅道数据库,看下zt_config表中,搜一下module=common的数据。 看下是否有类似下图的数据?如果有的话将这3行数据删除,然后再访问禅道试试呢。 这个问题应该是由于之前版本的一个漏洞导致的,可以在https://www.zentao.net/extension-viewext-6.html 这里找下对应的补丁下载后,登录禅道后台-插件-本地安装上传下补丁包 或者也可以升级下最新版本,升级前请做好数据备份 ![]() |




