^ think\exception\HttpException {#113
-statusCode: 404
-headers: []
#message: ""
#code: 0
#file: "/www/wwwroot/chalcoaluminum.com/vendor/topthink/framework/src/helper.php"
#line: 53
trace: {
/www/wwwroot/chalcoaluminum.com/vendor/topthink/framework/src/helper.php:53 {
abort($code, string $message = '', array $header = []) …
› } else {
› throw new HttpException($code, $message, null, $header);
› }
}
/www/wwwroot/chalcoaluminum.com/app/controller/Main.php:132 {
app\controller\Main->initialize() …
› if(!$res){
› abort(404);
› }
arguments: {
$code: 404
}
}
/www/wwwroot/chalcoaluminum.com/app/controller/Product.php:16 {
app\controller\Product->initialize() …
›
› parent::initialize();
› View::assign('column','product');
}
/www/wwwroot/chalcoaluminum.com/app/BaseController.php:50 {
app\BaseController->__construct(App $app) …
› // 控制器初始化
› $this->initialize();
› }
}
app\BaseController->__construct() {}
/www/wwwroot/chalcoaluminum.com/vendor/topthink/framework/src/think/Container.php:395 {
think\Container->invokeClass(string $class, array $vars = []) …
›
› $object = $reflect->newInstanceArgs($args);
›
arguments: {
$args: array:1 [ …1]
}
}
/www/wwwroot/chalcoaluminum.com/vendor/topthink/framework/src/think/Container.php:252 {
think\Container->make(string $abstract, array $vars = [], bool $newInstance = false) …
› } else {
› $object = $this->invokeClass($abstract, $vars);
› }
arguments: {
$class: "app\controller\Product"
$vars: []
}
}
/www/wwwroot/chalcoaluminum.com/vendor/topthink/framework/src/think/route/dispatch/Controller.php:187 {
think\route\dispatch\Controller->controller(string $name) …
› if (class_exists($class)) {
› return $this->app->make($class, [], true);
› } elseif ($emptyController && class_exists($emptyClass = $this->app->parseClass($controllerLayer, $emptyController . $suffix))) {
arguments: {
$abstract: "app\controller\Product"
$vars: []
$newInstance: true
}
}
/www/wwwroot/chalcoaluminum.com/vendor/topthink/framework/src/think/route/dispatch/Controller.php:74 {
think\route\dispatch\Controller->exec() …
› // 实例化控制器
› $instance = $this->controller($this->controller);
› } catch (ClassNotFoundException $e) {
arguments: {
$name: "Product"
}
}
/www/wwwroot/chalcoaluminum.com/vendor/topthink/framework/src/think/route/Dispatch.php:90 {
think\route\Dispatch->run(): Response …
›
› $data = $this->exec();
› return $this->autoResponse($data);
}
/www/wwwroot/chalcoaluminum.com/vendor/topthink/framework/src/think/Route.php:785 {
think\Route->think\{closure} …
› ->then(function () use ($dispatch) {
› return $dispatch->run();
› });
}
/www/wwwroot/chalcoaluminum.com/vendor/topthink/framework/src/think/Pipeline.php:59 {
think\Pipeline->think\{closure} …
› try {
› return $destination($passable);
› } catch (Throwable | Exception $e) {
arguments: {
app\Request {#32 …}
}
}
/www/wwwroot/chalcoaluminum.com/vendor/topthink/framework/src/think/Pipeline.php:66 {
think\Pipeline->then(Closure $destination) …
›
› return $pipeline($this->passable);
› }
arguments: {
app\Request {#32 …}
}
}
/www/wwwroot/chalcoaluminum.com/vendor/topthink/framework/src/think/Route.php:786 {
think\Route->dispatch(Request $request, $withRoute = true) …
› return $dispatch->run();
› });
› }
arguments: {
$destination: Closure() {#109 …}
}
}
/www/wwwroot/chalcoaluminum.com/vendor/topthink/framework/src/think/Http.php:216 {
think\Http->dispatchToRoute($request) …
›
› return $this->app->route->dispatch($request, $withRoute);
› }
arguments: {
$request: app\Request {#32 …}
$withRoute: Closure() {#45 …}
}
}
/www/wwwroot/chalcoaluminum.com/vendor/topthink/framework/src/think/Http.php:206 {
think\Http->think\{closure} …
› ->then(function ($request) {
› return $this->dispatchToRoute($request);
› });
arguments: {
$request: app\Request {#32 …}
}
}
/www/wwwroot/chalcoaluminum.com/vendor/topthink/framework/src/think/Pipeline.php:59 {
think\Pipeline->think\{closure} …
› try {
› return $destination($passable);
› } catch (Throwable | Exception $e) {
arguments: {
app\Request {#32 …}
}
}
/www/wwwroot/chalcoaluminum.com/vendor/topthink/think-multi-app/src/MultiApp.php:65 {
think\app\MultiApp->handle($request, Closure $next) …
› if (!$this->parseMultiApp()) {
› return $next($request);
› }
arguments: {
app\Request {#32 …}
}
}
think\app\MultiApp->handle() {}
/www/wwwroot/chalcoaluminum.com/vendor/topthink/framework/src/think/Middleware.php:142 {
think\Middleware->think\{closure} …
› }
› $response = call_user_func($call, $request, $next, ...$params);
›
arguments: {
$function_name: array:2 [ …2]
...$parameters: {
app\Request {#32 …}
Closure($passable) {#41 …}
}
}
}
/www/wwwroot/chalcoaluminum.com/vendor/topthink/framework/src/think/Pipeline.php:85 {
think\Pipeline->think\{closure} …
› try {
› return $pipe($passable, $stack);
› } catch (Throwable | Exception $e) {
arguments: {
app\Request {#32 …}
Closure($passable) {#41 …}
}
}
/www/wwwroot/chalcoaluminum.com/vendor/topthink/framework/src/think/middleware/SessionInit.php:67 {
think\middleware\SessionInit->handle($request, Closure $next) …
› /** @var Response $response */
› $response = $next($request);
›
arguments: {
app\Request {#32 …}
}
}
think\middleware\SessionInit->handle() {}
/www/wwwroot/chalcoaluminum.com/vendor/topthink/framework/src/think/Middleware.php:142 {
think\Middleware->think\{closure} …
› }
› $response = call_user_func($call, $request, $next, ...$params);
›
arguments: {
$function_name: array:2 [ …2]
...$parameters: {
app\Request {#32 …}
Closure($passable) {#41 …}
}
}
}
/www/wwwroot/chalcoaluminum.com/vendor/topthink/framework/src/think/Pipeline.php:85 {
think\Pipeline->think\{closure} …
› try {
› return $pipe($passable, $stack);
› } catch (Throwable | Exception $e) {
arguments: {
app\Request {#32 …}
Closure($passable) {#41 …}
}
}
/www/wwwroot/chalcoaluminum.com/vendor/topthink/think-trace/src/TraceDebug.php:71 {
think\trace\TraceDebug->handle($request, Closure $next) …
›
› $response = $next($request);
›
arguments: {
app\Request {#32 …}
}
}
think\trace\TraceDebug->handle() {}
/www/wwwroot/chalcoaluminum.com/vendor/topthink/framework/src/think/Middleware.php:142 {
think\Middleware->think\{closure} …
› }
› $response = call_user_func($call, $request, $next, ...$params);
›
arguments: {
$function_name: array:2 [ …2]
...$parameters: {
app\Request {#32 …}
Closure($passable) {#41 …}
}
}
}
/www/wwwroot/chalcoaluminum.com/vendor/topthink/framework/src/think/Pipeline.php:85 {
think\Pipeline->think\{closure} …
› try {
› return $pipe($passable, $stack);
› } catch (Throwable | Exception $e) {
arguments: {
app\Request {#32 …}
Closure($passable) {#41 …}
}
}
/www/wwwroot/chalcoaluminum.com/vendor/topthink/framework/src/think/Pipeline.php:66 {
think\Pipeline->then(Closure $destination) …
›
› return $pipeline($this->passable);
› }
arguments: {
app\Request {#32 …}
}
}
/www/wwwroot/chalcoaluminum.com/vendor/topthink/framework/src/think/Http.php:207 {
think\Http->runWithRequest(Request $request) …
› return $this->dispatchToRoute($request);
› });
› }
arguments: {
$destination: Closure($request) {#18 …}
}
}
/www/wwwroot/chalcoaluminum.com/vendor/topthink/framework/src/think/Http.php:170 {
think\Http->run(Request $request = null): Response …
› try {
› $response = $this->runWithRequest($request);
› } catch (Throwable $e) {
arguments: {
$request: app\Request {#32 …}
}
}
/www/wwwroot/chalcoaluminum.com/public/index.php:20 {
›
› $response = $http->run();
›
}
}
}