#0 [8]ErrorException in Collection.php line 589

未定义数组下标: 0

  1. // ArrayAccess
  2. public function offsetExists($offset)
  3. {
  4. return array_key_exists($offset, $this->items);
  5. }
  6. public function offsetGet($offset)
  7. {
  8. return $this->items[$offset];
  9. }
  10. public function offsetSet($offset, $value)
  11. {
  12. if (is_null($offset)) {
  13. $this->items[] = $value;
  14. } else {
  15. $this->items[$offset] = $value;
  16. }

Call Stack

  1. in Collection.php line 589
  2. at Error->appError(8, 'Undefined offset: 0', '/www/wwwroot/xyx/ven...', 589, ['offset' => 0]) in Collection.php line 589
  3. at Collection->offsetGet(0) in Solution.php line 33
  4. at Solution->index()
  5. at ReflectionMethod->invokeArgs(object(Solution), []) in Container.php line 343
  6. at Container->invokeReflectMethod(object(Solution), object(ReflectionMethod), ['id' => '10']) in Controller.php line 110
  7. at Controller->think\route\dispatch\{closure}(object(Request)) in Pipeline.php line 59
  8. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  9. at Pipeline->then(object(Closure)) in Controller.php line 113
  10. at Controller->exec() in Dispatch.php line 89
  11. at Dispatch->run() in Route.php line 772
  12. at Route->think\{closure}(object(Request)) in Pipeline.php line 59
  13. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  14. at Pipeline->then(object(Closure)) in Route.php line 773
  15. at Route->dispatch(object(Request), object(Closure)) in Http.php line 216
  16. at Http->dispatchToRoute(object(Request)) in Http.php line 206
  17. at Http->think\{closure}(object(Request)) in Pipeline.php line 59
  18. at Pipeline->think\{closure}(object(Request)) in MultiApp.php line 65
  19. at MultiApp->handle(object(Request), object(Closure))
  20. at call_user_func([object(MultiApp), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  21. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  22. at Pipeline->think\{closure}(object(Request)) in SessionInit.php line 67
  23. at SessionInit->handle(object(Request), object(Closure))
  24. at call_user_func([object(SessionInit), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  25. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  26. at Pipeline->think\{closure}(object(Request)) in TraceDebug.php line 71
  27. at TraceDebug->handle(object(Request), object(Closure))
  28. at call_user_func([object(TraceDebug), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  29. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  30. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  31. at Pipeline->then(object(Closure)) in Http.php line 207
  32. at Http->runWithRequest(object(Request)) in Http.php line 170
  33. at Http->run() in index.php line 20

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookies
$Version 1
PHPSESSID e2e65ded2bc85e9081d925f26321c812
$Path /
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_ACCEPT_LANGUAGE en, *
HTTP_ACCEPT text/html,image/png,image/jpeg,image/pjpeg,image/x-xbitmap,image/svg+xml,image/gif;q=0.9,*/*;q=0.1
HTTP_USER_AGENT Mozilla/4.5 (compatible; HTTrack 3.0x; Windows 98)
HTTP_HOST www.xyxmat.com
HTTP_CONNECTION close
HTTP_COOKIE $Version=1; PHPSESSID=e2e65ded2bc85e9081d925f26321c812; $Path=/
HTTP_REFERER http://www.xyxmat.com/
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME xyxmat.com
SERVER_PORT 443
SERVER_ADDR 10.0.12.6
REMOTE_PORT 56685
REMOTE_ADDR 107.148.66.25
SERVER_SOFTWARE nginx/1.24.0
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/1.0
DOCUMENT_ROOT /www/wwwroot/xyx/public
DOCUMENT_URI /index.php
REQUEST_URI /solution/10
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=//solution/10
SCRIPT_FILENAME /www/wwwroot/xyx/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1758110884.0447
REQUEST_TIME 1758110884