#0 [8]ErrorException in About.php line 73

Trying to access array offset on value of type null

  1. $sly_prev = $amod->where("id < $id")->where('status = 3')->where('tid',$lists['tid'])->order('id desc')->find();
  2. $view['sly_prev'] = $sly_prev;
  3. // 下一个
  4. $sly_next = $amod->where("id > $id")->where('status = 3')->where('tid',$lists['tid'])->order('id asc')->find();
  5. $view['sly_next'] = $sly_next;
  6. $view['lists'] = $lists;
  7. $template = $thecate['t_content'];
  8. } else {
  9. if ($thecate['gourl']) {
  10. return redirect($thecate['gourl']);
  11. }
  12. $child = $tree->get_child($tid);
  13. $this->size = $thecate['list_nums'] ?: $cateinfo['list_nums'];
  14. $where = "status = 3";
  15. $inids = $tid;
  16. if ($tid) {

Call Stack

  1. in About.php line 73
  2. at Error->appError() in About.php line 73
  3. at About->index()
  4. at ReflectionMethod->invokeArgs() in Container.php line 342
  5. at Container->invokeReflectMethod() in Controller.php line 110
  6. at Controller->think\route\dispatch\{closure}() in Pipeline.php line 59
  7. at Pipeline->think\{closure}() in Browers.php line 55
  8. at Browers->handle()
  9. at call_user_func() in Middleware.php line 142
  10. at Middleware->think\{closure}() in Pipeline.php line 84
  11. at Pipeline->think\{closure}() in Pipeline.php line 65
  12. at Pipeline->then() in Controller.php line 113
  13. at Controller->exec() in Dispatch.php line 89
  14. at Dispatch->run() in Route.php line 760
  15. at Route->think\{closure}() in Pipeline.php line 59
  16. at Pipeline->think\{closure}() in Pipeline.php line 65
  17. at Pipeline->then() in Route.php line 761
  18. at Route->dispatch() in Http.php line 210
  19. at Http->dispatchToRoute() in Http.php line 200
  20. at Http->think\{closure}() in Pipeline.php line 59
  21. at Pipeline->think\{closure}() in MultiApp.php line 71
  22. at MultiApp->think\app\{closure}() in Pipeline.php line 59
  23. at Pipeline->think\{closure}() in Pipeline.php line 65
  24. at Pipeline->then() in MultiApp.php line 72
  25. at MultiApp->handle()
  26. at call_user_func() in Middleware.php line 142
  27. at Middleware->think\{closure}() in Pipeline.php line 84
  28. at Pipeline->think\{closure}() in SessionInit.php line 67
  29. at SessionInit->handle()
  30. at call_user_func() in Middleware.php line 142
  31. at Middleware->think\{closure}() in Pipeline.php line 84
  32. at Pipeline->think\{closure}() in TraceDebug.php line 71
  33. at TraceDebug->handle()
  34. at call_user_func() in Middleware.php line 142
  35. at Middleware->think\{closure}() in Pipeline.php line 84
  36. at Pipeline->think\{closure}() in Pipeline.php line 65
  37. at Pipeline->then() in Http.php line 201
  38. at Http->runWithRequest() in Http.php line 162
  39. at Http->run() in index.php line 20

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_HOST www.xiangxiangli.com.cn
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME xiangxiangli.com.cn
SERVER_PORT 80
SERVER_ADDR 172.28.35.203
REMOTE_PORT 54982
REMOTE_ADDR 3.238.228.237
SERVER_SOFTWARE nginx/1.22.1
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/xiangxiangli.com.cn/public
DOCUMENT_URI /index.php
REQUEST_URI /about/recruitment.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=//about/recruitment.html
SCRIPT_FILENAME /www/wwwroot/xiangxiangli.com.cn/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711708917.5
REQUEST_TIME 1711708917