云顶国际·(中国)唯一官方网站

#0 [8]ErrorException in Index.php line 109

Trying to access array offset on value of type null

  1. $template = $template['show_template'];
  2. $tpar = explode(".", $template, 2);
  3. $template = $tpar[0];
  4. // 父级ID
  5. $parent = explode(',', $category['parent']);
  6. $parentId = isset($parent[1]) ? trim($parent[1], '|') : $catid;
  7. $this->assign('parent', $parent);
  8. $seo = seo($catid, $info['title']);
  9. $this->assign('category', $category);
  10. $this->assign('seo', $seo);
  11. $this->assign('id', $id);
  12. $this->assign('info', $info);
  13. $this->assign('parentId', $parentId);
  14. $this->assign('catid', $catid);
  15. return View::filter(function($content){
  16. return htmlspecialchars_decode($content);

Call Stack

  1. in Index.php line 109
  2. at Error->appError() in Index.php line 109
  3. at Index->shows()
  4. at ReflectionMethod->invokeArgs() in Container.php line 344
  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 Throttle.php line 141
  8. at Throttle->handle()
  9. at call_user_func() in Middleware.php line 142
  10. at Middleware->think\{closure}() in Pipeline.php line 85
  11. at Pipeline->think\{closure}() in Pipeline.php line 66
  12. at Pipeline->then() in Controller.php line 113
  13. at Controller->exec() in Dispatch.php line 90
  14. at Dispatch->run() in Route.php line 772
  15. at Route->think\{closure}() in Pipeline.php line 59
  16. at Pipeline->think\{closure}() in Pipeline.php line 66
  17. at Pipeline->then() in Route.php line 773
  18. at Route->dispatch() in Http.php line 216
  19. at Http->dispatchToRoute() in Http.php line 206
  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 66
  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 85
  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 85
  32. at Pipeline->think\{closure}() in LoadLangPack.php line 57
  33. at LoadLangPack->handle()
  34. at call_user_func() in Middleware.php line 142
  35. at Middleware->think\{closure}() in Pipeline.php line 85
  36. at Pipeline->think\{closure}() in TraceDebug.php line 71
  37. at TraceDebug->handle()
  38. at call_user_func() in Middleware.php line 142
  39. at Middleware->think\{closure}() in Pipeline.php line 85
  40. at Pipeline->think\{closure}() in Pipeline.php line 66
  41. at Pipeline->then() in Http.php line 207
  42. at Http->runWithRequest() in Http.php line 170
  43. at Http->run() in index.php line 35

Environment Variables

GET Data
catid 48
id 25
POST Dataempty
Filesempty
Cookies
PHPSESSID aa9f3c7f3739d68ca828d281f9e9de54
think_lang zh-cn
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_COOKIE PHPSESSID=aa9f3c7f3739d68ca828d281f9e9de54; think_lang=zh-cn
HTTP_ACCEPT_ENCODING gzip
HTTP_ACCEPT */*
HTTP_HOST www.dayue.com
HTTP_USER_AGENT Mozilla/5.0 (compatible; MJ12bot/v1.4.8; http://mj12bot.com/)
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME www.dayue.com
SERVER_PORT 80
SERVER_ADDR 172.25.24.242
REMOTE_PORT 38092
REMOTE_ADDR 209.73.159.122
SERVER_SOFTWARE nginx/1.22.1
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/www.dayue.com
DOCUMENT_URI /en/index.php
REQUEST_URI /en/index/shows?catid=48&id=25
SCRIPT_NAME /en/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=index/shows&catid=48&id=25
SCRIPT_FILENAME /www/wwwroot/www.dayue.com/en/index.php
FCGI_ROLE RESPONDER
PHP_SELF /en/index.php
REQUEST_TIME_FLOAT 1743484833.4223
REQUEST_TIME 1743484833
0.082076s
Baidu
sogou