^ think\exception\ErrorException {#40
#severity: 8
#data: []
#message: "Undefined index: img"
#code: 0
#file: "/usr/home/wh-auhk7d5gap71mdb3of6/htdocs/runtime/temp/7f7bcde43becefbfdf30cc96b3ea3750.php"
#line: 97
trace: {
/usr/home/wh-auhk7d5gap71mdb3of6/htdocs/runtime/temp/7f7bcde43becefbfdf30cc96b3ea3750.php:97 {
include …
› <div class="swiper-wrapper">
› <?php foreach($detail['img'] as $vo): ?>
› <div class="swiper-slide">
arguments: {
$errno: 8
$errstr: "Undefined index: img"
$errfile: "/usr/home/wh-auhk7d5gap71mdb3of6/htdocs/runtime/temp/7f7bcde43becefbfdf30cc96b3ea3750.php"
$errline: 97
...: {
array:11 [ …11]
}
}
}
/usr/home/wh-auhk7d5gap71mdb3of6/htdocs/vendor/topthink/think-template/src/template/driver/File.php:59 {
think\template\driver\File->read(string $cacheFile, array $vars = []): void …
› //载入模版缓存文件\r
› include $this->cacheFile;\r
› }\r
arguments: {
"/usr/home/wh-auhk7d5gap71mdb3of6/htdocs/runtime/temp/7f7bcde43becefbfdf30cc96b3ea3750.php"
}
}
/usr/home/wh-auhk7d5gap71mdb3of6/htdocs/vendor/topthink/think-template/src/Template.php:255 {
think\Template->fetch(string $template, array $vars = []): void …
› // 读取编译存储\r
› $this->storage->read($cacheFile, $this->data);\r
› \r
arguments: {
$cacheFile: "/usr/home/wh-auhk7d5gap71mdb3of6/htdocs/runtime/temp/7f7bcde43becefbfdf30cc96b3ea3750.php"
$vars: array:9 [ …9]
}
}
/usr/home/wh-auhk7d5gap71mdb3of6/htdocs/vendor/topthink/think-view/src/Think.php:149 {
think\view\driver\Think->fetch(string $template, array $data = []): void …
› \r
› $this->template->fetch($template, $data);\r
› }\r
arguments: {
$template: "/usr/home/wh-auhk7d5gap71mdb3of6/htdocs/app/view/Product/details.html"
$vars: array:9 [ …9]
}
}
/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/details.html"
$data: array:9 [ …9]
}
}
/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/details"
$vars: array:4 [ …4]
}
}
/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/details"
}
}
/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
}
}
}