#0 [2]ErrorException in Part.php line 15

Undefined array key "id"

  1. class Part extends R
  2. {
  3. protected $name = 'cms_part';
  4. protected $_order = 'sort desc,id asc';
  5. protected function UntModel($data){
  6. foreach ($data as &$v){
  7. $v['url'] = "/cms/part-{$v['id']}.html";
  8. }
  9. return $data;
  10. }
  11. }

Call Stack

  1. in Part.php line 15
  2. at Error->appError() in Part.php line 15
  3. at Part->UntModel() in R.php line 263
  4. at R->UntList() in R.php line 191
  5. at R->GetOne() in ImTrait.php line 145
  6. at HomeBase->read()
  7. at ReflectionMethod->invokeArgs() in Container.php line 345
  8. at Container->invokeReflectMethod() in Controller.php line 110
  9. at Controller->think\route\dispatch\{closure}() in Pipeline.php line 59
  10. at Pipeline->think\{closure}() in Pipeline.php line 66
  11. at Pipeline->then() in Controller.php line 113
  12. at Controller->exec() in Dispatch.php line 52
  13. at Dispatch->run() in Route.php line 755
  14. at Route->think\{closure}() in Pipeline.php line 59
  15. at Pipeline->think\{closure}() in Pipeline.php line 66
  16. at Pipeline->then() in Route.php line 756
  17. at Route->dispatch() in Http.php line 208
  18. at Http->dispatchToRoute() in Http.php line 198
  19. at Http->think\{closure}() in Pipeline.php line 59
  20. at Pipeline->think\{closure}() in MultiApp.php line 51
  21. at MultiApp->think\app\{closure}() in Pipeline.php line 59
  22. at Pipeline->think\{closure}() in Pipeline.php line 66
  23. at Pipeline->then() in MultiApp.php line 52
  24. at MultiApp->handle()
  25. at call_user_func() in Middleware.php line 134
  26. at Middleware->think\{closure}() in Pipeline.php line 85
  27. at Pipeline->think\{closure}() in Base.php line 12
  28. at Base->handle()
  29. at call_user_func() in Middleware.php line 134
  30. at Middleware->think\{closure}() in Pipeline.php line 85
  31. at Pipeline->think\{closure}() in SessionInit.php line 58
  32. at SessionInit->handle()
  33. at call_user_func() in Middleware.php line 134
  34. at Middleware->think\{closure}() in Pipeline.php line 85
  35. at Pipeline->think\{closure}() in LoadLangPack.php line 53
  36. at LoadLangPack->handle()
  37. at call_user_func() in Middleware.php line 134
  38. at Middleware->think\{closure}() in Pipeline.php line 85
  39. at Pipeline->think\{closure}() in CheckRequestCache.php line 94
  40. at CheckRequestCache->handle()
  41. at call_user_func() in Middleware.php line 134
  42. at Middleware->think\{closure}() in Pipeline.php line 85
  43. at Pipeline->think\{closure}() in TraceDebug.php line 71
  44. at TraceDebug->handle()
  45. at call_user_func() in Middleware.php line 134
  46. at Middleware->think\{closure}() in Pipeline.php line 85
  47. at Pipeline->think\{closure}() in Pipeline.php line 66
  48. at Pipeline->then() in Http.php line 199
  49. at Http->runWithRequest() in Http.php line 162
  50. at Http->run() in index.php line 20
  51. at require('/www/wwwroot/wormcms...') in index.php line 2

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_HOST wormcms.com
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME www.wormcms.com
SERVER_PORT 80
SERVER_ADDR 211.101.244.11
REMOTE_PORT 50376
REMOTE_ADDR 44.222.149.13
SERVER_SOFTWARE nginx/1.22.1
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/wormcms.com
DOCUMENT_URI /index.php
REQUEST_URI /cms/part-12.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/cms/part-12.html
SCRIPT_FILENAME /www/wwwroot/wormcms.com/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1710833313.6489
REQUEST_TIME 1710833313