easysoft / zentaopms

Zentao is an agile(scrum) project management system/tool, Free Upgrade Forever!​
http://www.zentao.pm
Other
1.29k stars 322 forks source link

打开插件管理报错 #113

Closed ashangpeng closed 1 year ago

ashangpeng commented 1 year ago

09:15:06 Uncaught TypeError: method_exists(): Argument #1 ($object_or_class) must be of type object|string, null given in module/common/model.php:897 Stack trace:

0 module/common/model.php(897): method_exists()

1 module/common/view/header.html.php(15): commonModel::printHomeButton()

2 module/extension/view/safe.html.php(13): include('...')

3 framework/control.class.php(385): include('...')

4 framework/base/control.class.php(662): control->parseDefault()

5 framework/base/control.class.php(917): baseControl->parse()

6 module/extension/control.php(35): baseControl->display()

7 framework/base/router.class.php(1497): extension->__construct()

8 www/index.php(71): baseRouter->setParams()

9 {main}

thrown in module/common/model.php on line 897 when visiting /index.php?m=extension&f=browse

sy-records commented 1 year ago

使用的哪个版本?

sy-records commented 1 year ago

Fixed via 2bcbd468