think\exception\RouteNotFoundException {#51
#message: "Route Not Found"
#code: 0
#file: "/www/wwwroot/forum/thinkphp/vendor/topthink/framework/src/think/Route.php"
#line: 740
-statusCode: 404
-headers: []
trace: {
/www/wwwroot/forum/thinkphp/vendor/topthink/framework/src/think/Route.php:740 {
think\Route->check(string $url, bool $completeMatch = false) …
› // 开启强制路由
› throw new RouteNotFoundException();
› }
}
/www/wwwroot/forum/thinkphp/vendor/topthink/framework/src/think/Route.php:704 {
think\Route->dispatch(Request $request, Closure|bool $withRoute = true) …
› // 路由检测
› $dispatch = $this->check($url, $completeMatch);
› }
}
/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();
›
}
}
}