^ "public_index_errr"
^ TypeError {#314
#message: "Argument 1 passed to App\Comm\Utils\CollectionResult::setItems() must be of the type array, null given, called in /www/wwwroot/www.dxmooc.com/web/library/App/Module/CourseIdentity/UInterface/Action/ListInstructorSubject.php on line 58"
#code: 0
#file: "/www/wwwroot/www.dxmooc.com/web/library/App/Comm/Utils/CollectionResult.php"
#line: 69
trace: {
/www/wwwroot/www.dxmooc.com/web/library/App/Comm/Utils/CollectionResult.php:69 {
App\Comm\Utils\CollectionResult->setItems(array $items = []) …
› */
› public function setItems(array $items = [])
› {
}
/www/wwwroot/www.dxmooc.com/web/library/App/Module/CourseIdentity/UInterface/Action/ListInstructorSubject.php:58 {
App\Module\CourseIdentity\UInterface\Action\ListInstructorSubject->handle(BaseRequest $request, array $context = []) …
› $list = $this->list($res->getItems(), $subjectType, $keyword);
› $res->setItems($list);
›
}
/www/wwwroot/www.dxmooc.com/web/apps/web-v2/modules/Instructor/controllers/Detail.php:56 {
DetailController->listSubject($infoId) …
› 'infoId' => $infoId,
› 'subjectType' => 'course',
› ]);
}
/www/wwwroot/www.dxmooc.com/web/apps/web-v2/modules/Instructor/controllers/Detail.php:37 {
DetailController->indexAction() …
› $this->instractorInfo($id);
› $this->listSubject($id);
› $this->display('index');
}
DetailController->indexAction() {}
/www/wwwroot/www.dxmooc.com/web/public/index.php:64 {
› $app = new \Yaf\Application(APP_PATH.'/config/application.ini');
› $app->bootstrap()->run();
› } catch (\Error $exception) {
}
}
}