#0 [2]ErrorException in d7c9a5d1a001d5e4babe70831d8ad8f9.php line 175

Trying to access array offset on value of type null

  1. </div>
  2. </div>
  3. <?php $tmp=son_category(5,6); ?>
  4. <div class="page_rtshtit">
  5. <?php if(is_array($tmp) || $tmp instanceof \think\Collection || $tmp instanceof \think\Paginator): $i = 0; $__LIST__ = $tmp;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?>
  6. <a href="<?php echo url('/'.$v['htmldir'].'/'.$v['id']); ?>"><?php echo htmlentities($v['catname']); ?></a>
  7. <?php endforeach; endif; else: echo "" ;endif; ?>
  8. </div>
  9. <div class="index_tit2">
  10. <p><?php echo cache('category_12')['catname']; ?></p>
  11. <div><a href="<?php echo getlinkurl(12); ?>">MORE+</a></div>
  12. </div>
  13. <?php $tmp=get_lists('article', 12, 1, "status = 3 and trait = 1"); ?>
  14. <div class="index_box2leli index_box2lespli">
  15. <?php if(is_array($tmp) || $tmp instanceof \think\Collection || $tmp instanceof \think\Paginator): $i = 0; $__LIST__ = $tmp;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?>
  16. <img src="<?php echo htmlentities((isset($v['litpic']) && ($v['litpic'] !== '')?$v['litpic']:'/default.png')); ?>" alt="<?php echo get_sysconfig('xxl_webname','base'); ?>-<?php echo htmlentities($v['title']); ?>" class="index_box2leliback">
  17. <img src="/static/index/images/video_cli.png" alt="<?php echo htmlentities($v['title']); ?>" class="index_box2lelicli">
  18. <a href="<?php echo url('/'.cache('category_'.$v['tid'])['htmldir'].'/'.$v['tid'].'_'.$v['id']); ?>" title="<?php echo htmlentities($v['title']); ?>"></a>
  19. <?php endforeach; endif; else: echo "" ;endif; ?>

Call Stack

  1. in d7c9a5d1a001d5e4babe70831d8ad8f9.php line 175
  2. at Error->appError() in d7c9a5d1a001d5e4babe70831d8ad8f9.php line 175
  3. at include('/mnt/wwwroot/ce-ca.c...') in File.php line 59
  4. at File->read() in Template.php line 255
  5. at Template->fetch() in Think.php line 149
  6. at Think->fetch() in View.php line 90
  7. at View->think\{closure}() in View.php line 126
  8. at View->getContent() in View.php line 91
  9. at View->fetch()
  10. at call_user_func_array() in Facade.php line 96
  11. at Facade::__callStatic() in Article.php line 157
  12. at Article->index()
  13. at ReflectionMethod->invokeArgs() in Container.php line 344
  14. at Container->invokeReflectMethod() in Controller.php line 110
  15. at Controller->think\route\dispatch\{closure}() in Pipeline.php line 59
  16. at Pipeline->think\{closure}() in Browers.php line 57
  17. at Browers->handle()
  18. at call_user_func() in Middleware.php line 142
  19. at Middleware->think\{closure}() in Pipeline.php line 85
  20. at Pipeline->think\{closure}() in Pipeline.php line 66
  21. at Pipeline->then() in Controller.php line 113
  22. at Controller->exec() in Dispatch.php line 90
  23. at Dispatch->run() in Route.php line 785
  24. at Route->think\{closure}() in Pipeline.php line 59
  25. at Pipeline->think\{closure}() in Pipeline.php line 66
  26. at Pipeline->then() in Route.php line 786
  27. at Route->dispatch() in Http.php line 216
  28. at Http->dispatchToRoute() in Http.php line 206
  29. at Http->think\{closure}() in Pipeline.php line 59
  30. at Pipeline->think\{closure}() in MultiApp.php line 71
  31. at MultiApp->think\app\{closure}() in Pipeline.php line 59
  32. at Pipeline->think\{closure}() in Pipeline.php line 66
  33. at Pipeline->then() in MultiApp.php line 72
  34. at MultiApp->handle()
  35. at call_user_func() in Middleware.php line 142
  36. at Middleware->think\{closure}() in Pipeline.php line 85
  37. at Pipeline->think\{closure}() in SessionInit.php line 67
  38. at SessionInit->handle()
  39. at call_user_func() in Middleware.php line 142
  40. at Middleware->think\{closure}() in Pipeline.php line 85
  41. at Pipeline->think\{closure}() in TraceDebug.php line 71
  42. at TraceDebug->handle()
  43. at call_user_func() in Middleware.php line 142
  44. at Middleware->think\{closure}() in Pipeline.php line 85
  45. at Pipeline->think\{closure}() in Pipeline.php line 66
  46. at Pipeline->then() in Http.php line 207
  47. at Http->runWithRequest() in Http.php line 170
  48. at Http->run() in index.php line 22

Environment Variables

GET Data
page 2
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_HOST chinaecocityacademy.com
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME ce-ca.cn
SERVER_PORT 80
SERVER_ADDR 172.31.95.151
REMOTE_PORT 55220
REMOTE_ADDR 3.239.83.89
SERVER_SOFTWARE nginx/1.22.0
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /mnt/wwwroot/ce-ca.cn/public
DOCUMENT_URI /index.php
REQUEST_URI /article/1.html?page=2
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=//article/1.html&page=2
SCRIPT_FILENAME /mnt/wwwroot/ce-ca.cn/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711706109.5357
REQUEST_TIME 1711706109