开源版 20.2.0在新建任务的时候报错
回帖数
1
阅读数
231
发表时间
2024-07-19 16:25:41
URL: /index.php?m=task&f=create&executionID=0&storyID=0&moduleID=0&taskID=0&todoID=0&extra=from=global
Fatal error: Uncaught TypeError: productplanModel::getPairs(): Argument #1 ($productIdList) must be of type array|int, null given, called in /apps/zentao/module/execution/zen.php on line 1876 and defined in /apps/zentao/module/productplan/model.php:183 Stack trace: #0 /apps/zentao/module/execution/zen.php(1876): productplanModel->getPairs(NULL, '0,0', 'noclosed,unexpi...', true) #1 /apps/zentao/module/execution/control.php(1014): executionZen->setLinkedBranches(Array, 0, 0, Object(stdClass)) #2 /apps/zentao/framework/base/router.class.php(2479): execution->create(4, 0, 0, 0, 'no', 0, '') #3 /apps/zentao/framework/router.class.php(770): baseRouter->loadModule() #4 /apps/zentao/www/index.php(88): router->loadModule() #5 {main} thrown in /apps/zentao/module/productplan/model.php on line 183
Fatal error: Uncaught TypeError: productplanModel::getPairs(): Argument #1 ($productIdList) must be of type array|int, null given, called in /apps/zentao/module/execution/zen.php on line 1876 and defined in /apps/zentao/module/productplan/model.php:183 Stack trace: #0 /apps/zentao/module/execution/zen.php(1876): productplanModel->getPairs(NULL, '0,0', 'noclosed,unexpi...', true) #1 /apps/zentao/module/execution/control.php(1014): executionZen->setLinkedBranches(Array, 0, 0, Object(stdClass)) #2 /apps/zentao/framework/base/router.class.php(2479): execution->create(4, 0, 0, 0, 'no', 0, '') #3 /apps/zentao/framework/router.class.php(770): baseRouter->loadModule() #4 /apps/zentao/www/index.php(88): router->loadModule() #5 {main} thrown in /apps/zentao/module/productplan/model.php on line 183
之前的包,有个php8的强制类型检查,可以官网重新下载安装包覆盖下。(不要下载一键安装包)
禅道20.2.stable发布,新增业务需求概念、列表拖拽调整列宽和表头右键设置 - 禅道动态 - 禅道项目管理软件 (zentao.net)
覆盖之后,zentaopms/www/目录下的upgrade.php、install.php两个文件删除下。再试试。
如果还有问题,可以联系官网联系我们的商务QQ,邀请加入技术交流群沟通。
2024-07-19 18:14:04 禅道-李锡碧 回帖
![](https://cdn.easycorp.cn/web/data/contact/avatar/2679672214.png)
联系人
徐亚京/高级客户经理
![](/theme/default/default/images/main/icon-contact-split.png)
电话(微信)
17663982076
![](/theme/default/default/images/main/icon-contact-split.png)
QQ号码
2679672214
![](/theme/default/default/images/main/icon-contact-split.png)
联系邮箱
xuyajing@chandao.com
![](https://cdn.easycorp.cn/web/data/contact/17663982076.png)