[8] ErrorException in ae3a7e9c77f464a8f0c020a2a21f4b71.php line 613

未定义数组索引: child

  1. <div class="lc-l-n">
  2. <?php if(is_array($allCat) || $allCat instanceof \think\Collection || $allCat instanceof \think\Paginator): $i = 0; $__LIST__ = $allCat;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
  3. <ul>
  4. <h1 class="lc-l-n-A">
  5. <a href="/index/goods/list?cid=<?php echo htmlentities($vo['id']); ?>">
  6. <span><?php echo htmlentities($vo['cat_name']); ?></span>
  7. <img src="/static/index/img/xia3.png" alt="">
  8. </a>
  9. </h1>
  10. <?php if(is_array($vo['child']) || $vo['child'] instanceof \think\Collection || $vo['child'] instanceof \think\Paginator): $i = 0; $__LIST__ = $vo['child'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$er): $mod = ($i % 2 );++$i;?>
  11. <li>
  12. <h2 class="lc-l-n-h2">
  13. <span>|</span>
  14. <a href="/index/goods/list?cid=<?php echo htmlentities($er['id']); ?>"><?php echo htmlentities($er['cat_name']); ?></a>
  15. </h2>
  16. <div>
  17. <!-- <a class="lc-l-n-d" href="#">--TOC配件耗材</a> -->
  18. <?php if(!(empty($er['child']) || (($er['child'] instanceof \think\Collection || $er['child'] instanceof \think\Paginator ) && $er['child']->isEmpty()))): if(is_array($er['child']) || $er['child'] instanceof \think\Collection || $er['child'] instanceof \think\Paginator): $i = 0; $__LIST__ = $er['child'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$san): $mod = ($i % 2 );++$i;?>
  19. <a href="javascript:;" data-href="/index/goods/list?cid=<?php echo htmlentities($san['id']); ?>" class="mya"><?php echo htmlentities($san['cat_name']); if(!(empty($san['child']) || (($san['child'] instanceof \think\Collection || $san['child'] instanceof \think\Paginator ) && $san['child']->isEmpty()))): ?>

Call Stack

  1. in ae3a7e9c77f464a8f0c020a2a21f4b71.php line 613
  2. at Error::appError(8, 'Undefined index: chi...', '/mnt/vdb/www/default...', 613, ['cacheFile' => '/mnt/vdb/www/default...', 'vars' => ['web_title' => '实时报价_岛津_...', 'web_keywords' => '...', 'web_description' => '...', ...], 'web_title' => '实时报价_岛津_...', ...]) in ae3a7e9c77f464a8f0c020a2a21f4b71.php line 613
  3. at include('/mnt/vdb/www/default...') in File.php line 59
  4. at File->read('/mnt/vdb/www/default...', ['web_title' => '实时报价_岛津_...', 'web_keywords' => '...', 'web_description' => '...', ...]) in Template.php line 226
  5. at Template->fetch('../application/templ...', ['web_title' => '实时报价_岛津_...', 'web_keywords' => '...', 'web_description' => '...', ...], []) in Think.php line 93
  6. at Think->fetch('../application/templ...', ['web_title' => '实时报价_岛津_...', 'web_keywords' => '...', 'web_description' => '...', ...], []) in View.php line 192
  7. at View->fetch('/goods/show', ['web_title' => '实时报价_岛津_...', 'web_keywords' => '...', 'web_description' => '...', ...], [], false) in View.php line 42
  8. at View->output('/goods/show') in Response.php line 396
  9. at Response->getContent() in Response.php line 128
  10. at Response->send() in index.php line 21

Environment Variables

GET Data
id 5043
which
search
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_HOST 5181717.com
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME 120.77.97.132
SERVER_PORT 80
SERVER_ADDR 120.77.97.132
REMOTE_PORT 24240
REMOTE_ADDR 18.222.184.162
SERVER_SOFTWARE nginx/1.14.0
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /mnt/vdb/www/default/public
DOCUMENT_URI /index.php
REQUEST_URI /index/goods/show?id=5043&which=&search=
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/index/goods/show&id=5043&which=&search=
SCRIPT_FILENAME /mnt/vdb/www/default/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1713455077.5835
REQUEST_TIME 1713455077
Environment Variablesempty
ThinkPHP Constants
FILTER_VALIDATE_BOOL 258