#0 [8]ErrorException in 4b897e0831237026e190096580ccb4fb.php line 43

Trying to access array offset on value of type null

  1. <img src="/static/index/images/search.png" class="search_btn">
  2. <img width=28 src="/static/index/images/nav_btn.png" alt="" class="nav_btn">
  3. </div>
  4. <div class="nav_list">
  5. <ul class="nav_list_con1">
  6. <li <?php if(!$tid): ?>class="active"<?php endif; ?>>
  7. <a href="/">首页</a>
  8. </li>
  9. <?php if(is_array($one_cate) || $one_cate instanceof \think\Collection || $one_cate instanceof \think\Paginator): $i = 0; $__LIST__ = $one_cate;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?>
  10. <li <?php if($v['id'] == $tid || $thecate['pid'] == $v['id']): ?>class="active"<?php endif; ?>>
  11. <a href="<?php echo url('/'.$v['htmldir']); ?>"><?php echo htmlentities($v['catname']); ?></a>
  12. <i class="nav_btn2">
  13. <img src="/static/index/images/icon_right.png" alt="" />
  14. </i>
  15. <ul class="nav_list_con2">
  16. <?php if(is_array($v['childs']) || $v['childs'] instanceof \think\Collection || $v['childs'] instanceof \think\Paginator): $i = 0; $__LIST__ = $v['childs'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vv): $mod = ($i % 2 );++$i;?>
  17. <li> <a href="<?php echo url('/'.$vv['htmldir']); ?>"><?php echo htmlentities($vv['catname']); ?></a> </li>
  18. <?php endforeach; endif; else: echo "" ;endif; ?>
  19. </ul>

Call Stack

  1. in 4b897e0831237026e190096580ccb4fb.php line 43
  2. at Error->appError(8, 'Trying to access arr...', '/data/user/htdocs/ru...', 43, ['cacheFile' => '/data/user/htdocs/ru...', 'vars' => ['is_mobile' => 0, 'kwd' => '', 'one_cate' => [['id' => 1, 'molds' => 'tour', 'pid' => 0, ...], ['id' => 2, 'molds' => 'product', 'pid' => 0, ...], ['id' => 3, 'molds' => 'service', 'pid' => 0, ...], ...], ...], 'is_mobile' => 0, ...]) in 4b897e0831237026e190096580ccb4fb.php line 43
  3. at include('/data/user/htdocs/ru...') in File.php line 59
  4. at File->read('/data/user/htdocs/ru...', ['is_mobile' => 0, 'kwd' => '', 'one_cate' => [['id' => 1, 'molds' => 'tour', 'pid' => 0, ...], ['id' => 2, 'molds' => 'product', 'pid' => 0, ...], ['id' => 3, 'molds' => 'service', 'pid' => 0, ...], ...], ...]) in Template.php line 255
  5. at Template->fetch('/data/user/htdocs/vi...', ['is_mobile' => 0, 'kwd' => '', 'one_cate' => [['id' => 1, 'molds' => 'tour', 'pid' => 0, ...], ['id' => 2, 'molds' => 'product', 'pid' => 0, ...], ['id' => 3, 'molds' => 'service', 'pid' => 0, ...], ...], ...]) in Think.php line 149
  6. at Think->fetch('/data/user/htdocs/vi...', ['is_mobile' => 0, 'kwd' => '', 'one_cate' => [['id' => 1, 'molds' => 'tour', 'pid' => 0, ...], ['id' => 2, 'molds' => 'product', 'pid' => 0, ...], ['id' => 3, 'molds' => 'service', 'pid' => 0, ...], ...], ...]) in View.php line 90
  7. at View->think\{closure}() in View.php line 126
  8. at View->getContent(object(Closure)) in View.php line 91
  9. at View->fetch()
  10. at call_user_func_array([object(View), 'fetch'], []) in Facade.php line 96
  11. at Facade::__callStatic('fetch', []) in Index.php line 110
  12. at Index->sitemap()
  13. at ReflectionMethod->invokeArgs(object(Index), []) in Container.php line 344
  14. at Container->invokeReflectMethod(object(Index), object(ReflectionMethod), []) in Controller.php line 110
  15. at Controller->think\route\dispatch\{closure}(object(Request)) in Pipeline.php line 59
  16. at Pipeline->think\{closure}(object(Request)) in Browers.php line 57
  17. at Browers->handle(object(Request), object(Closure))
  18. at call_user_func([object(Browers), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  19. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  20. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  21. at Pipeline->then(object(Closure)) in Controller.php line 113
  22. at Controller->exec() in Dispatch.php line 90
  23. at Dispatch->run() in Route.php line 772
  24. at Route->think\{closure}(object(Request)) in Pipeline.php line 59
  25. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  26. at Pipeline->then(object(Closure)) in Route.php line 773
  27. at Route->dispatch(object(Request), object(Closure)) in Http.php line 216
  28. at Http->dispatchToRoute(object(Request)) in Http.php line 206
  29. at Http->think\{closure}(object(Request)) in Pipeline.php line 59
  30. at Pipeline->think\{closure}(object(Request)) in MultiApp.php line 71
  31. at MultiApp->think\app\{closure}(object(Request)) in Pipeline.php line 59
  32. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  33. at Pipeline->then(object(Closure)) in MultiApp.php line 72
  34. at MultiApp->handle(object(Request), object(Closure))
  35. at call_user_func([object(MultiApp), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  36. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  37. at Pipeline->think\{closure}(object(Request)) in SessionInit.php line 67
  38. at SessionInit->handle(object(Request), object(Closure))
  39. at call_user_func([object(SessionInit), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  40. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  41. at Pipeline->think\{closure}(object(Request)) in TraceDebug.php line 71
  42. at TraceDebug->handle(object(Request), object(Closure))
  43. at call_user_func([object(TraceDebug), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  44. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  45. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  46. at Pipeline->then(object(Closure)) in Http.php line 207
  47. at Http->runWithRequest(object(Request)) in Http.php line 170
  48. at Http->run() in index.php line 21

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER nobody
HOME /
HTTP_HOST lameitour.com
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
REDIRECT_STATUS 200
SERVER_NAME wh-nbimgn07apkx7adpd76.my3w.com
SERVER_PORT 80
SERVER_ADDR 172.19.46.168
REMOTE_PORT 51202
REMOTE_ADDR 54.226.68.181
SERVER_SOFTWARE nginx/1.18.0
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /data/user/htdocs
DOCUMENT_URI /index.php
REQUEST_URI /sitemap.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=//sitemap.html
PATH_INFO
SCRIPT_FILENAME /data/user/htdocs/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711720758.9416
REQUEST_TIME 1711720758