我使用的是crmeb pro 3.3(已购买官方授权,未上线) 在本地开发环境,今天突然报错这个,不知到是什么原因?
{
"status": 400,
"msg": "Undefined array key -1",
"data": {
"file": "\/www\/wwwroot\/crmeb\/crmeb\/basic\/BaseController.php",
"line": 163,
"trace": [
{
"file": "\/www\/wwwroot\/crmeb\/crmeb\/basic\/BaseController.php",
"line": 163,
"function": "appError",
"class": "think\\initializer\\Error",
"type": "->"
},
{
"file": "\/www\/wwwroot\/crmeb\/app\/controller\/admin\/Common.php",
"line": 60,
"function": "getAuth",
"class": "crmeb\\basic\\BaseController",
"type": "->"
},
{
"function": "auth",
"class": "app\\controller\\admin\\Common",
"type": "->"
},
{
"file": "\/www\/wwwroot\/crmeb\/vendor\/topthink\/framework\/src\/think\/Container.php",
"line": 345,
"function": "invokeArgs",
"class": "ReflectionMethod",
"type": "->"
},
{
"file": "\/www\/wwwroot\/crmeb\/vendor\/topthink\/framework\/src\/think\/route\/dispatch\/Controller.php",
"line": 110,
"function": "invokeReflectMethod",
"class": "think\\Container",
"type": "->"
},
{
"file": "\/www\/wwwroot\/crmeb\/vendor\/topthink\/framework\/src\/think\/Pipeline.php",
"line": 59,
"function": "think\\route\\dispatch\\{closure}",
"class": "think\\route\\dispatch\\Controller",
"type": "->"
},
{
"file": "\/www\/wwwroot\/crmeb\/vendor\/topthink\/framework\/src\/think\/Pipeline.php",
"line": 66,
"function": "think\\{closure}",
"class": "think\\Pipeline",
"type": "->"
},
{
"file": "\/www\/wwwroot\/crmeb\/vendor\/topthink\/framework\/src\/think\/route\/dispatch\/Controller.php",
"line": 113,
"function": "then",
"class": "think\\Pipeline",
"type": "->"
},
{
"file": "\/www\/wwwroot\/crmeb\/vendor\/topthink\/framework\/src\/think\/route\/Dispatch.php",
"line": 52,
"function": "exec",
"class": "think\\route\\dispatch\\Controller",
"type": "->"
},
{
"file": "\/www\/wwwroot\/crmeb\/vendor\/topthink\/framework\/src\/think\/Route.php",
"line": 755,
"function": "run",
"class": "think\\route\\Dispatch",
"type": "->"
},
{
"file": "\/www\/wwwroot\/crmeb\/vendor\/topthink\/framework\/src\/think\/Pipeline.php",
"line": 59,
"function": "think\\{closure}",
"class": "think\\Route",
"type": "->"
},
{
"file": "\/www\/wwwroot\/crmeb\/app\/http\/middleware\/admin\/AdminLogMiddleware.php",
"line": 38,
"function": "think\\{closure}",
"class": "think\\Pipeline",
"type": "->"
},
{
"function": "handle",
"class": "app\\http\\middleware\\admin\\AdminLogMiddleware",
"type": "->"
},
{
"file": "\/www\/wwwroot\/crmeb\/vendor\/topthink\/framework\/src\/think\/Middleware.php",
"line": 134,
"function": "call_user_func"
},
{
"file": "\/www\/wwwroot\/crmeb\/vendor\/topthink\/framework\/src\/think\/Pipeline.php",
"line": 85,
"function": "think\\{closure}",
"class": "think\\Middleware",
"type": "->"
},
{
"file": "\/www\/wwwroot\/crmeb\/app\/http\/middleware\/admin\/AdminCkeckRoleMiddleware.php",
"line": 45,
"function": "think\\{closure}",
"class": "think\\Pipeline",
"type": "->"
},
{
"function": "handle",
"class": "app\\http\\middleware\\admin\\AdminCkeckRoleMiddleware",
"type": "->"
},
{
"file": "\/www\/wwwroot\/crmeb\/vendor\/topthink\/framework\/src\/think\/Middleware.php",
"line": 134,
"function": "call_user_func"
},
{
"file": "\/www\/wwwroot\/crmeb\/vendor\/topthink\/framework\/src\/think\/Pipeline.php",
"line": 85,
"function": "think\\{closure}",
"class": "think\\Middleware",
"type": "->"
},
{
"file": "\/www\/wwwroot\/crmeb\/app\/http\/middleware\/admin\/AdminAuthTokenMiddleware.php",
"line": 38,
"function": "think\\{closure}",
"class": "think\\Pipeline",
"type": "->"
},
{
"function": "handle",
"class": "app\\http\\middleware\\admin\\AdminAuthTokenMiddleware",
"type": "->"
},
{
"file": "\/www\/wwwroot\/crmeb\/vendor\/topthink\/framework\/src\/think\/Middleware.php",
"line": 134,
"function": "call_user_func"
},
{
"file": "\/www\/wwwroot\/crmeb\/vendor\/topthink\/framework\/src\/think\/Pipeline.php",
"line": 85,
"function": "think\\{closure}",
"class": "think\\Middleware",
"type": "->"
},
{
"file": "\/www\/wwwroot\/crmeb\/app\/http\/middleware\/AllowOriginMiddleware.php",
"line": 50,
"function": "think\\{closure}",
"class": "think\\Pipeline",
"type": "->"
},
{
"function": "handle",
"class": "app\\http\\middleware\\AllowOriginMiddleware",
"type": "->"
},
{
"file": "\/www\/wwwroot\/crmeb\/vendor\/topthink\/framework\/src\/think\/Middleware.php",
"line": 134,
"function": "call_user_func"
},
{
"file": "\/www\/wwwroot\/crmeb\/vendor\/topthink\/framework\/src\/think\/Pipeline.php",
"line": 85,
"function": "think\\{closure}",
"class": "think\\Middleware",
"type": "->"
},
{
"file": "\/www\/wwwroot\/crmeb\/app\/http\/middleware\/InstallMiddleware.php",
"line": 32,
"function": "think\\{closure}",
"class": "think\\Pipeline",
"type": "->"
},
{
"function": "handle",
"class": "app\\http\\middleware\\InstallMiddleware",
"type": "->"
},
{
"file": "\/www\/wwwroot\/crmeb\/vendor\/topthink\/framework\/src\/think\/Middleware.php",
"line": 134,
"function": "call_user_func"
},
{
"file": "\/www\/wwwroot\/crmeb\/vendor\/topthink\/framework\/src\/think\/Pipeline.php",
"line": 85,
"function": "think\\{closure}",
"class": "think\\Middleware",
"type": "->"
},
{
"file": "\/www\/wwwroot\/crmeb\/vendor\/topthink\/framework\/src\/think\/Pipeline.php",
"line": 66,
"function": "think\\{closure}",
"class": "think\\Pipeline",
"type": "->"
},
{
"file": "\/www\/wwwroot\/crmeb\/vendor\/topthink\/framework\/src\/think\/Route.php",
"line": 756,
"function": "then",
"class": "think\\Pipeline",
"type": "->"
},
{
"file": "\/www\/wwwroot\/crmeb\/vendor\/topthink\/framework\/src\/think\/Http.php",
"line": 208,
"function": "dispatch",
"class": "think\\Route",
"type": "->"
},
{
"file": "\/www\/wwwroot\/crmeb\/vendor\/topthink\/framework\/src\/think\/Http.php",
"line": 198,
"function": "dispatchToRoute",
"class": "think\\Http",
"type": "->"
},
{
"file": "\/www\/wwwroot\/crmeb\/vendor\/topthink\/framework\/src\/think\/Pipeline.php",
"line": 59,
"function": "think\\{closure}",
"class": "think\\Http",
"type": "->"
},
{
"file": "\/www\/wwwroot\/crmeb\/vendor\/topthink\/framework\/src\/think\/middleware\/LoadLangPack.php",
"line": 53,
"function": "think\\{closure}",
"class": "think\\Pipeline",
"type": "->"
},
{
"function": "handle",
"class": "think\\middleware\\LoadLangPack",
"type": "->"
},
{
"file": "\/www\/wwwroot\/crmeb\/vendor\/topthink\/framework\/src\/think\/Middleware.php",
"line": 134,
"function": "call_user_func"
},
{
"file": "\/www\/wwwroot\/crmeb\/vendor\/topthink\/framework\/src\/think\/Pipeline.php",
"line": 85,
"function": "think\\{closure}",
"class": "think\\Middleware",
"type": "->"
},
{
"file": "\/www\/wwwroot\/crmeb\/vendor\/topthink\/framework\/src\/think\/middleware\/SessionInit.php",
"line": 58,
"function": "think\\{closure}",
"class": "think\\Pipeline",
"type": "->"
},
{
"function": "handle",
"class": "think\\middleware\\SessionInit",
"type": "->"
},
{
"file": "\/www\/wwwroot\/crmeb\/vendor\/topthink\/framework\/src\/think\/Middleware.php",
"line": 134,
"function": "call_user_func"
},
{
"file": "\/www\/wwwroot\/crmeb\/vendor\/topthink\/framework\/src\/think\/Pipeline.php",
"line": 85,
"function": "think\\{closure}",
"class": "think\\Middleware",
"type": "->"
},
{
"file": "\/www\/wwwroot\/crmeb\/crmeb\/topthink\/TraceDebug.php",
"line": 43,
"function": "think\\{closure}",
"class": "think\\Pipeline",
"type": "->"
},
{
"function": "handle",
"class": "crmeb\\topthink\\TraceDebug",
"type": "->"
},
{
"file": "\/www\/wwwroot\/crmeb\/vendor\/topthink\/framework\/src\/think\/Middleware.php",
"line": 134,
"function": "call_user_func"
},
{
"file": "\/www\/wwwroot\/crmeb\/vendor\/topthink\/framework\/src\/think\/Pipeline.php",
"line": 85,
"function": "think\\{closure}",
"class": "think\\Middleware",
"type": "->"
},
{
"file": "\/www\/wwwroot\/crmeb\/vendor\/topthink\/framework\/src\/think\/Pipeline.php",
"line": 66,
"function": "think\\{closure}",
"class": "think\\Pipeline",
"type": "->"
},
{
"file": "\/www\/wwwroot\/crmeb\/vendor\/topthink\/framework\/src\/think\/Http.php",
"line": 199,
"function": "then",
"class": "think\\Pipeline",
"type": "->"
},
{
"file": "\/www\/wwwroot\/crmeb\/vendor\/topthink\/framework\/src\/think\/Http.php",
"line": 162,
"function": "runWithRequest",
"class": "think\\Http",
"type": "->"
},
{
"file": "\/www\/wwwroot\/crmeb\/vendor\/topthink\/think-swoole\/src\/concerns\/InteractsWithHttp.php",
"line": 143,
"function": "run",
"class": "think\\Http",
"type": "->"
},
{
"file": "\/www\/wwwroot\/crmeb\/vendor\/topthink\/think-swoole\/src\/concerns\/InteractsWithHttp.php",
"line": 125,
"function": "handleRequest",
"class": "think\\swoole\\Manager",
"type": "->"
},
{
"file": "\/www\/wwwroot\/crmeb\/vendor\/topthink\/framework\/src\/think\/Container.php",
"line": 295,
"function": "think\\swoole\\concerns\\{closure}",
"class": "think\\swoole\\Manager",
"type": "->"
},
{
"file": "\/www\/wwwroot\/crmeb\/vendor\/topthink\/framework\/src\/think\/Container.php",
"line": 359,
"function": "invokeFunction",
"class": "think\\Container",
"type": "->"
},
{
"file": "\/www\/wwwroot\/crmeb\/vendor\/topthink\/think-swoole\/src\/Sandbox.php",
"line": 87,
"function": "invoke",
"class": "think\\Container",
"type": "->"
},
{
"file": "\/www\/wwwroot\/crmeb\/vendor\/topthink\/think-swoole\/src\/concerns\/WithApplication.php",
"line": 84,
"function": "run",
"class": "think\\swoole\\Sandbox",
"type": "->"
},
{
"file": "\/www\/wwwroot\/crmeb\/vendor\/topthink\/think-swoole\/src\/concerns\/InteractsWithHttp.php",
"line": 134,
"function": "runInSandbox",
"class": "think\\swoole\\Manager",
"type": "->"
}
],
"previous": null
}
}