^ think\template\exception\TemplateNotFoundException {#40
#template: "/usr/home/wh-auhk7d5gap71mdb3of6/htdocs/app/view/Product/products.html"
#message: "template not exists:/usr/home/wh-auhk7d5gap71mdb3of6/htdocs/app/view/Product/products.html"
#code: 0
#file: "/usr/home/wh-auhk7d5gap71mdb3of6/htdocs/vendor/topthink/think-view/src/Think.php"
#line: 146
trace: {
/usr/home/wh-auhk7d5gap71mdb3of6/htdocs/vendor/topthink/think-view/src/Think.php:146 {
think\view\driver\Think->fetch(string $template, array $data = []): void …
› if (!is_file($template)) {\r
› throw new TemplateNotFoundException('template not exists:' . $template, $template);\r
› }\r
}
/usr/home/wh-auhk7d5gap71mdb3of6/htdocs/vendor/topthink/framework/src/think/View.php:90 {
think\View->think\{closure} …
› return $this->getContent(function () use ($vars, $template) {\r
› $this->engine()->fetch($template, array_merge($this->data, $vars));\r
› });\r
arguments: {
$template: "/usr/home/wh-auhk7d5gap71mdb3of6/htdocs/app/view/Product/products.html"
$data: array:8 [ …8]
}
}
/usr/home/wh-auhk7d5gap71mdb3of6/htdocs/vendor/topthink/framework/src/think/View.php:126 {
think\View->getContent($callback): string …
› try {\r
› $callback();\r
› } catch (\Exception $e) {\r
}
/usr/home/wh-auhk7d5gap71mdb3of6/htdocs/vendor/topthink/framework/src/think/View.php:91 {
think\View->fetch(string $template = '', array $vars = []): string …
› $this->engine()->fetch($template, array_merge($this->data, $vars));\r
› });\r
› }\r
arguments: {
$callback: Closure() {#22 …}
}
}
/usr/home/wh-auhk7d5gap71mdb3of6/htdocs/vendor/topthink/framework/src/think/response/View.php:92 {
think\response\View->output($data): string …
› $this->view->display($data, $this->vars) :\r
› $this->view->fetch($data, $this->vars);\r
› }\r
arguments: {
$template: "Product/products"
$vars: array:1 [ …1]
}
}
/usr/home/wh-auhk7d5gap71mdb3of6/htdocs/vendor/topthink/framework/src/think/Response.php:388 {
think\Response->getContent(): string …
› if (null == $this->content) {\r
› $content = $this->output($this->data);\r
› \r
arguments: {
$data: "Product/products"
}
}
/usr/home/wh-auhk7d5gap71mdb3of6/htdocs/vendor/topthink/framework/src/think/Response.php:131 {
think\Response->send(): void …
› // 处理输出数据\r
› $data = $this->getContent();\r
› \r
}
/usr/home/wh-auhk7d5gap71mdb3of6/htdocs/index.php:22 {
› \r
› $response->send();\r
› \r
}
}
}