^ think\exception\HttpException {#86
-statusCode: 404
-headers: []
#message: "method not exists:app\controller\Error->index()"
#code: 0
#file: "/usr/share/nginx/html/img.szhulian.cn/vendor/topthink/framework/src/think/route/dispatch/Controller.php"
#line: 107
trace: {
/usr/share/nginx/html/img.szhulian.cn/vendor/topthink/framework/src/think/route/dispatch/Controller.php:107 {
think\route\dispatch\Controller->think\route\dispatch\{closure} …
› // 操作不存在
› throw new HttpException(404, 'method not exists:' . $instance::class . '->' . $action . '()');
› }
}
/usr/share/nginx/html/img.szhulian.cn/vendor/topthink/framework/src/think/Pipeline.php:59 {
think\Pipeline->think\{closure} …
› try {
› return $destination($passable);
› } catch (Throwable | Exception $e) {
arguments: {
app\Request {#29 …}
}
}
/usr/share/nginx/html/img.szhulian.cn/vendor/topthink/framework/src/think/Pipeline.php:66 {
think\Pipeline->then(Closure $destination) …
›
› return $pipeline($this->passable);
› }
arguments: {
app\Request {#29 …}
}
}
/usr/share/nginx/html/img.szhulian.cn/vendor/topthink/framework/src/think/route/dispatch/Controller.php:113 {
think\route\dispatch\Controller->exec() …
› return $this->autoResponse($data);
› });
› }
arguments: {
$destination: Closure() {#83 …}
}
}
/usr/share/nginx/html/img.szhulian.cn/vendor/topthink/framework/src/think/route/Dispatch.php:52 {
think\route\Dispatch->run(): Response …
› {
› $data = $this->exec();
› return $this->autoResponse($data);
}
/usr/share/nginx/html/img.szhulian.cn/vendor/topthink/framework/src/think/Route.php:755 {
think\Route->think\{closure} …
› ->then(function () use ($dispatch) {
› return $dispatch->run();
› });
}
/usr/share/nginx/html/img.szhulian.cn/vendor/topthink/framework/src/think/Pipeline.php:59 {
think\Pipeline->think\{closure} …
› try {
› return $destination($passable);
› } catch (Throwable | Exception $e) {
arguments: {
app\Request {#29 …}
}
}
/usr/share/nginx/html/img.szhulian.cn/vendor/topthink/framework/src/think/Pipeline.php:66 {
think\Pipeline->then(Closure $destination) …
›
› return $pipeline($this->passable);
› }
arguments: {
app\Request {#29 …}
}
}
/usr/share/nginx/html/img.szhulian.cn/vendor/topthink/framework/src/think/Route.php:756 {
think\Route->dispatch(Request $request, Closure|bool $withRoute = true) …
› return $dispatch->run();
› });
› }
arguments: {
$destination: Closure() {#80 …}
}
}
/usr/share/nginx/html/img.szhulian.cn/vendor/topthink/framework/src/think/Http.php:208 {
think\Http->dispatchToRoute($request) …
›
› return $this->app->route->dispatch($request, $withRoute);
› }
arguments: {
$request: app\Request {#29 …}
$withRoute: Closure() {#66 …}
}
}
/usr/share/nginx/html/img.szhulian.cn/vendor/topthink/framework/src/think/Http.php:198 {
think\Http->think\{closure} …
› ->then(function ($request) {
› return $this->dispatchToRoute($request);
› });
arguments: {
$request: app\Request {#29 …}
}
}
/usr/share/nginx/html/img.szhulian.cn/vendor/topthink/framework/src/think/Pipeline.php:59 {
think\Pipeline->think\{closure} …
› try {
› return $destination($passable);
› } catch (Throwable | Exception $e) {
arguments: {
app\Request {#29 …}
}
}
/usr/share/nginx/html/img.szhulian.cn/vendor/topthink/think-multi-app/src/MultiApp.php:45 {
think\app\MultiApp->handle($request, Closure $next) …
› if (!$this->parseMultiApp()) {
› return $next($request);
› }
arguments: {
app\Request {#29 …}
}
}
think\app\MultiApp->handle() {}
/usr/share/nginx/html/img.szhulian.cn/vendor/topthink/framework/src/think/Middleware.php:134 {
think\Middleware->think\{closure} …
› }
› $response = call_user_func($call, $request, $next, ...$params);
›
arguments: {
$callback: array:2 [ …2]
...$args: {
app\Request {#29 …}
Closure($passable) {#43 …}
}
}
}
/usr/share/nginx/html/img.szhulian.cn/vendor/topthink/framework/src/think/Pipeline.php:85 {
think\Pipeline->think\{closure} …
› try {
› return $pipe($passable, $stack);
› } catch (Throwable | Exception $e) {
arguments: {
app\Request {#29 …}
Closure($passable) {#43 …}
}
}
/usr/share/nginx/html/img.szhulian.cn/app/common/middleware/CrossReq.php:19 {
app\common\middleware\CrossReq->handle($request, Closure $next) …
›
› return $next($request);
› }
arguments: {
app\Request {#29 …}
}
}
app\common\middleware\CrossReq->handle() {}
/usr/share/nginx/html/img.szhulian.cn/vendor/topthink/framework/src/think/Middleware.php:134 {
think\Middleware->think\{closure} …
› }
› $response = call_user_func($call, $request, $next, ...$params);
›
arguments: {
$callback: array:2 [ …2]
...$args: {
app\Request {#29 …}
Closure($passable) {#43 …}
}
}
}
/usr/share/nginx/html/img.szhulian.cn/vendor/topthink/framework/src/think/Pipeline.php:85 {
think\Pipeline->think\{closure} …
› try {
› return $pipe($passable, $stack);
› } catch (Throwable | Exception $e) {
arguments: {
app\Request {#29 …}
Closure($passable) {#43 …}
}
}
/usr/share/nginx/html/img.szhulian.cn/vendor/thans/tp-jwt-auth/src/middleware/InjectJwt.php:14 {
thans\jwt\middleware\InjectJwt->handle(Request $request, $next) …
› (new JWTProvider($request))->init();
› $response = $next($request);
› return $response;
arguments: {
app\Request {#29 …}
}
}
thans\jwt\middleware\InjectJwt->handle() {}
/usr/share/nginx/html/img.szhulian.cn/vendor/topthink/framework/src/think/Middleware.php:134 {
think\Middleware->think\{closure} …
› }
› $response = call_user_func($call, $request, $next, ...$params);
›
arguments: {
$callback: array:2 [ …2]
...$args: {
app\Request {#29 …}
Closure($passable) {#43 …}
}
}
}
/usr/share/nginx/html/img.szhulian.cn/vendor/topthink/framework/src/think/Pipeline.php:85 {
think\Pipeline->think\{closure} …
› try {
› return $pipe($passable, $stack);
› } catch (Throwable | Exception $e) {
arguments: {
app\Request {#29 …}
Closure($passable) {#43 …}
}
}
/usr/share/nginx/html/img.szhulian.cn/vendor/topthink/think-trace/src/TraceDebug.php:71 {
think\trace\TraceDebug->handle($request, Closure $next) …
›
› $response = $next($request);
›
arguments: {
app\Request {#29 …}
}
}
think\trace\TraceDebug->handle() {}
/usr/share/nginx/html/img.szhulian.cn/vendor/topthink/framework/src/think/Middleware.php:134 {
think\Middleware->think\{closure} …
› }
› $response = call_user_func($call, $request, $next, ...$params);
›
arguments: {
$callback: array:2 [ …2]
...$args: {
app\Request {#29 …}
Closure($passable) {#43 …}
}
}
}
/usr/share/nginx/html/img.szhulian.cn/vendor/topthink/framework/src/think/Pipeline.php:85 {
think\Pipeline->think\{closure} …
› try {
› return $pipe($passable, $stack);
› } catch (Throwable | Exception $e) {
arguments: {
app\Request {#29 …}
Closure($passable) {#43 …}
}
}
/usr/share/nginx/html/img.szhulian.cn/vendor/topthink/framework/src/think/Pipeline.php:66 {
think\Pipeline->then(Closure $destination) …
›
› return $pipeline($this->passable);
› }
arguments: {
app\Request {#29 …}
}
}
/usr/share/nginx/html/img.szhulian.cn/vendor/topthink/framework/src/think/Http.php:199 {
think\Http->runWithRequest(Request $request) …
› return $this->dispatchToRoute($request);
› });
› }
arguments: {
$destination: Closure($request) {#19 …}
}
}
/usr/share/nginx/html/img.szhulian.cn/vendor/topthink/framework/src/think/Http.php:162 {
think\Http->run(Request $request = null): Response …
› try {
› $response = $this->runWithRequest($request);
› } catch (Throwable $e) {
arguments: {
$request: app\Request {#29 …}
}
}
/usr/share/nginx/html/img.szhulian.cn/public/index.php:20 {
›
› $response = $http->run();
›
}
}
}