一个男人 发表于 2018-8-9 17:10:47

mantis问题求助

请教大家问题,多谢。
最近把mantis升级到2.X,php版本是 7.1.16,apache 2.4.26,mysql 5.7.21。
数据把旧的mysql中的数据,导入到了新的mysql数据库中,新旧mysql的表有细微差别,个别表中的字段也有细微差别。
现在使用中,在切换个别项目的时候,会报错,错误提示如下:
Fatal error:Uncaught TypeError: Argument 1 passed to filter_ensure_valid_filter() must be of the type array, null given, called in E:\BTS-Server\Mantisbt\core\filter_api.php on line 942 and defined in E:\BTS-Server\Mantisbt\core\filter_api.php:549 Stack trace: #0 E:\BTS-Server\Mantisbt\core\filter_api.php(942): filter_ensure_valid_filter(NULL) #1 E:\BTS-Server\Mantisbt\core\user_api.php(1405): filter_deserialize('v7#a:33:{s:8:"_...') #2 E:\BTS-Server\Mantisbt\core\current_user_api.php(257): user_get_bug_filter(1, NULL) #3 E:\BTS-Server\Mantisbt\my_view_inc.php(61): current_user_get_bug_filter() #4 E:\BTS-Server\Mantisbt\my_view_page.php(144): include('E:\\BTS-Server\\M...') #5 {main}thrown in E:\BTS-Server\Mantisbt\core\filter_api.php on line 549

请大家帮我看看,看是否能解决,多谢了

qqq911 发表于 2018-8-13 10:44:26

报错是讲有个参数没传入

15733175532 发表于 2018-8-13 11:27:09

参数未传入到mysql数据库

abcsell 发表于 2018-8-13 11:38:49

参数错误,根据位置查找
页: [1]
查看完整版本: mantis问题求助