禅道使用
599564

页面突然打不开了解决中悬赏5积分

提问者跑龙套的铁链答案数1阅读数15发表时间2026-08-22 10:28:26

Fatal error: Uncaught Error: Call to a member function loadModel() on null in /apps/zentao/module/common/model.php:363 Stack trace: #0 /apps/zentao/module/bug/config/form.php(151): commonModel::formConfig('bug', 'batchCreate') #1 /apps/zentao/framework/router.class.php(430): include('/apps/zentao/mo...') #2 /apps/zentao/framework/base/model.class.php(150): router->loadModuleConfig('bug', '') #3 /apps/zentao/framework/base/router.class.php(2521): baseModel->__construct('') #4 /apps/zentao/framework/base/control.class.php(307): baseRouter->loadTarget('bug', '') #5 /apps/zentao/framework/control.class.php(170): baseControl->loadModel('bug') #6 /apps/zentao/framework/base/control.class.php(210): control->loadModel('bug', '') #7 /apps/zentao/framework/control.class.php(34): baseControl->__construct('', '', '') #8 /apps/zentao/module/bug/control.php(51): control->__construct('', '') #9 /apps/zentao/framework/base/router.class.php(1679): bug->__construct() #10 /apps/zentao/framework/base/router.class.php(1746): baseRouter->getDefaultParams() #11 /apps/zentao/www/index.php(73): baseRouter->setParams() #12 {main} thrown in/apps/zentao/module/common/model.php on line36310:22:42 Uncaught Error: Call to a member function loadModel() on null in module/common/model.php:363Stack trace:#0 module/bug/config/form.php(151): commonModel::formConfig('bug', 'batchCreate')#1 framework/router.class.php(430): include('mo...')#2 framework/base/model.class.php(150): router->loadModuleConfig('bug', '')#3 framework/base/router.class.php(2521): baseModel->__construct('')#4 framework/base/control.class.php(307): baseRouter->loadTarget('bug', '')#5 framework/control.class.php(170): baseControl->loadModel('bug')#6 framework/base/control.class.php(210): control->loadModel('bug', '')#7 framework/control.class.php(34): baseControl->__construct('', '', '')#8 module/bug/control.php(51): control->__construct('', '')#9 framework/base/router.class.php(1679): bug->__construct()#10 framework/base/router.class.php(1746): baseRouter->getDefaultParams()#11 www/index.php(73): baseRouter->setParams()#12 {main}thrown inmodule/common/model.php on line363 when visiting/index.php?m=bug&f=browse&productID=2Fatal error: Uncaught EndResponseException in /apps/zentao/framework/base/router.class.php:3605 Stack trace: #0 /apps/zentao/framework/base/helper.class.php(1064): EndResponseException::create('') #1 /apps/zentao/framework/base/router.class.php(3254): baseHelper::end() #2 /apps/zentao/framework/router.class.php(378): baseRouter->saveError(1, 'Uncaught Error:...', '/apps/zentao/mo...', 363) #3 /apps/zentao/framework/base/router.class.php(3102): router->saveError(1, 'Uncaught Error:...', '/apps/zentao/mo...', 363) #4 [internal function]: baseRouter->shutdown() #5 {main} thrown in/apps/zentao/framework/base/router.class.php on line3605

禅道版本:禅道开源版 20.0.beta1

安装包类型:源码包

操作系统:CentOS

客户端浏览器:Chrome

设置备注
内容
答案列表
🎂
2026-08-24 08:27:10

您好,看咱们的报错现象是系统识别成付费版去调用的付费版代码。

1、看下代码目录zentao/config/ext/edition.php文件中将edition参数值改为open

另外数据库里select * from zt_config where key="edition";查看下如果是biz/ipd/max,需要修改成open。

2、登录禅道数据库,zt_config表version字段值改为20.0.beta1

update zt_config set value= '20.0.beta1' where key = 'version';

另外咱们20.0.beta1是新版本最早的一个测试版本,建议升级到长期稳定支持版21.7.9。

可以参考下面文档做下升级。

各版本可以在官网的资源中心-动态搜索版本号查看:https://www.zentao.net/download.html

升级前请做好数据备份

升级文档:https://www.zentao.net/book/zentaopms/460.html

备份文档 :http://www.zentao.net/book/zentaopmshelp/42.html

注意升级是下载zip源码包,不是下载一键安装包。

我的微信:13256858138,Q:3620458865。也可以直接加我好友,协助您看下此问题。

联系我们
联系人
魏中显/高级客户经理
电话(微信)
18561939726
QQ号码
1746749398
联系邮箱
weizhongxian@chandao.com
其他相关问答
提问者: wx_61c44a6d2edae 于 2025-08-07909次浏览,1个答案
提问者: qq_59263e9cce30c 于 2017-05-252583次浏览,1个答案
2013
已解决
悬赏10积分
提问者: jinfg2008 于 2014-01-212428次浏览,1个答案
598560
已解决
悬赏5积分
提问者: m_67ca5110c424b 于 2025-03-07577次浏览,1个答案
5379
已解决
悬赏5积分
提问者: jimao1985 于 2017-11-162371次浏览,1个答案
返回顶部
客服头像
魏中显
高级客户经理
客服微信
18561939726
1746749398
统一服务热线 4006-8899-23
我要提问提问有任何问题,您都可以在这里提问。问题反馈反馈点击这里,让我们聆听您的建议与反馈。
gtm跟踪器
gtag
UET