think\exception\ErrorException {#50
#message: "Undefined array key 1"
#code: 0
#file: "/www/wwwroot/forum/thinkphp/vendor/topthink/framework/src/think/route/dispatch/Callback.php"
#line: 63
#data: []
#severity: 2
trace: {
/www/wwwroot/forum/thinkphp/vendor/topthink/framework/src/think/route/dispatch/Callback.php:63 {
think\route\dispatch\Callback->parseDispatch() …
› } elseif (':' == $type) {
› [$class, $action] = $route;
›
}
/www/wwwroot/forum/thinkphp/vendor/topthink/framework/src/think/route/dispatch/Callback.php:41 {
think\route\dispatch\Callback->init(App $app) …
› if (is_array($this->dispatch)) {
› $this->parseDispatch();
› }
}
/www/wwwroot/forum/thinkphp/vendor/topthink/framework/src/think/Route.php:712 {
think\Route->dispatch(Request $request, Closure|bool $withRoute = true) …
›
› $dispatch->init($this->app);
›
}
/www/wwwroot/forum/thinkphp/vendor/topthink/framework/src/think/Http.php:208 {
think\Http->dispatchToRoute($request) …
›
› return $this->app->route->dispatch($request, $withRoute);
› }
}
/www/wwwroot/forum/thinkphp/vendor/topthink/framework/src/think/Http.php:198 {
think\Http->think\{closure} …
› ->then(function ($request) {
› return $this->dispatchToRoute($request);
› });
}
/www/wwwroot/forum/thinkphp/vendor/topthink/framework/src/think/Pipeline.php:59 {
think\Pipeline->think\{closure} …
› try {
› return $destination($passable);
› } catch (Throwable | Exception $e) {
}
/www/wwwroot/forum/thinkphp/vendor/topthink/think-trace/src/TraceDebug.php:72 {
think\trace\TraceDebug->handle($request, Closure $next) …
›
› $response = $next($request);
›
}
think\trace\TraceDebug->handle() {}
/www/wwwroot/forum/thinkphp/vendor/topthink/framework/src/think/Middleware.php:134 {
think\Middleware->think\{closure} …
› }
› $response = call_user_func($call, $request, $next, ...$params);
›
}
/www/wwwroot/forum/thinkphp/vendor/topthink/framework/src/think/Pipeline.php:85 {
think\Pipeline->think\{closure} …
› try {
› return $pipe($passable, $stack);
› } catch (Throwable | Exception $e) {
}
/www/wwwroot/forum/thinkphp/vendor/topthink/framework/src/think/Pipeline.php:66 {
think\Pipeline->then(Closure $destination) …
›
› return $pipeline($this->passable);
› }
}
/www/wwwroot/forum/thinkphp/vendor/topthink/framework/src/think/Http.php:197 {
think\Http->runWithRequest(Request $request) …
› ->send($request)
› ->then(function ($request) {
› return $this->dispatchToRoute($request);
}
/www/wwwroot/forum/thinkphp/vendor/topthink/framework/src/think/Http.php:162 {
think\Http->run(?Request $request = null): Response …
› try {
› $response = $this->runWithRequest($request);
› } catch (Throwable $e) {
}
/www/wwwroot/forum/thinkphp/public/index.php:21 {
›
› $response = $http->run();
›
}
}
}