500! 'Error: ApiError: DateTime: Wed Oct 16 2019 13:12:43 GMT+0800 (CST) API: /api/question/query-params?xd=2&chid=14
500 Internal Server Error
PHP Notice 'yii/base/ErrorException' with message 'Undefined offset: 2' /n/nin /www/wwwroot/www.zujuan.com/zujuanadmin/modules/base/models/SiteSetting.php:92/n/nStack trace:/n#0 /www/wwwroot/www.zujuan.com/zujuanadmin/modules/base/models/SiteSetting.php(92): yii/base/ErrorHandler->handleError(8, 'Undefined offse...', '/www/wwwroot/ww...', 92, Array)/n#1 /www/wwwroot/www.zujuan.com/apidata/BaseData.php(49): zujuanadmin/modules/base/models/SiteSetting::QuestionTypesForChid('14', '2')/n#2 /www/wwwroot/www.zujuan.com/apidata/question/QuestionData.php(89): apidata/BaseData->getParameters('2', '14')/n#3 /www/wwwroot/www.zujuan.com/zujuannet/modules/api/controllers/QuestionController.php(80): apidata/question/QuestionData->getQueryParams()/n#4 [internal function]: zujuannet/modules/api/controllers/QuestionController->actionQueryParams()/n#5 /www/wwwroot/www.zujuan.com/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array)/n#6 /www/wwwroot/www.zujuan.com/vendor/yiisoft/yii2/base/Controller.php(157): yii/base/InlineAction->runWithParams(Array)/n#7 /www/wwwroot/www.zujuan.com/vendor/yiisoft/yii2/base/Module.php(528): yii/base/Controller->runAction('query-params', Array)/n#8 /www/wwwroot/www.zujuan.com/vendor/yiisoft/yii2/web/Application.php(103): yii/base/Module->runAction('api/question/qu...', Array)/n#9 /www/wwwroot/www.zujuan.com/vendor/yiisoft/yii2/base/Application.php(386): yii/web/Application->handleRequest(Object(yii/web/Request))/n#10 /www/wwwroot/www.zujuan.com/zujuannet/web/index.php(19): yii/base/Application->run()/n#11 {main}

'

返回大红鹰娱乐网首页