0
点赞
收藏
分享

微信扫一扫

testlink 1.9.16 执行测试时报错Fatal error: Uncaught Error: Cannot use string offset as an array in D:\softe

松鼠树屋 2022-03-14 阅读 120

安装的testlink 1.9.16 在Windows10上执行测试时报错
Fatal error: Uncaught Error: Cannot use string offset as an array in D:\softest\htdocs\testlink\lib\execute\execSetResults.php:1533 Stack trace: #0 D:\softest\htdocs\testlink\lib\execute\execSetResults.php(93): processTestCase(NULL, Object(stdClass), Object(stdClass), Object(stdClass), Array, Object(tree), Object(testcase), Object(tlAttachmentRepository)) #1 {main} thrown in D:\softest\htdocs\testlink\lib\execute\execSetResults.php on line 1533

打开错误中所提供的路径文件          D:\softest\htdocs\testlink\lib\execute\execSetResults.php 

 以记事本打开后Ctrl+F搜索$finalFilters 

foreach($locationFilters as $locationKey => $filterValue)
  {
       
    $finalFilters=$cf_filters+$filterValue;
    $guiObj->design_time_cfields[$tcase_id][$locationKey] =........;


替换为

如图

保存退出后,刷新testlink当前网页重新进入即可。

 

举报

相关推荐

0 条评论