8590am海洋之神(中国)有限公司

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

未定义数组索引: id

  1. //栏目ID
  2. $cat = $this->request->param('catid/d', 0);
  3. if (empty($cat)) {
  4. $cat = $this->request->param('catdir/s', '');
  5. }
  6. //获取栏目数据
  7. $category = getCategory($cat);
  8. // 栏目ID
  9. $catid = $category['id'];
  10. //模型ID
  11. $modelid = $category['modelid'];
  12. $modelInfo = __getModel($modelid);
  13. if (empty($modelInfo)) {
  14. $this->error('模型不存在'); //模型不存在
  15. }
  16. // 浏览量+1

Call Stack

  1. in Index.php line 81
  2. at Error->appError() in Index.php line 81
  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 Dataempty
POST Dataempty
Filesempty
Cookies
PHPSESSID d19a1b8b97dbcd963540442a8a5f9136
think_lang zh-cn
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_COOKIE PHPSESSID=d19a1b8b97dbcd963540442a8a5f9136; think_lang=zh-cn
HTTP_ACCEPT_ENCODING gzip
HTTP_ACCEPT */*
HTTP_HOST www.dayue.com
HTTP_USER_AGENT claudebot
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME www.dayue.com
SERVER_PORT 80
SERVER_ADDR 172.25.24.242
REMOTE_PORT 39748
REMOTE_ADDR 104.252.105.2
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 /index.php
REQUEST_URI /cjwt/292.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/cjwt/292.html
SCRIPT_FILENAME /www/wwwroot/www.dayue.com/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711626378.6875
REQUEST_TIME 1711626378
0.074128s
Baidu
sogou