[8] ErrorException in Collection.php line 486

未定义数组下标: 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 486
  2. at Error::appError(8, 'Undefined offset: 0', '/www/wwwroot/class.e...', 486, ['offset' => 0]) in Collection.php line 486
  3. at Collection->offsetGet(0) in Live.php line 42
  4. at Live->index()
  5. at ReflectionMethod->invokeArgs(object(Live), []) in Container.php line 395
  6. at Container->invokeReflectMethod(object(Live), object(ReflectionMethod), ['convert' => false]) in Module.php line 131
  7. at Module->think\route\dispatch\{closure}(object(Request), object(Closure), null)
  8. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  9. at Middleware->think\{closure}(object(Request))
  10. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  11. at Middleware->dispatch(object(Request), 'controller') in Module.php line 136
  12. at Module->exec() in Dispatch.php line 168
  13. at Dispatch->run() in App.php line 432
  14. at App->think\{closure}(object(Request), object(Closure), null)
  15. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  16. at Middleware->think\{closure}(object(Request))
  17. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  18. at Middleware->dispatch(object(Request)) in App.php line 435
  19. at App->run() in index.php line 21

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
HTTP_HOST class.examw.com
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME class.examw.com
SERVER_PORT 443
SERVER_ADDR 38.55.220.246
REMOTE_PORT 47662
REMOTE_ADDR 54.227.136.157
SERVER_SOFTWARE nginx/1.22.1
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/2.0
DOCUMENT_ROOT /www/wwwroot/class.examw.com/public
DOCUMENT_URI /index.php
REQUEST_URI /live_index
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=//live_index
SCRIPT_FILENAME /www/wwwroot/class.examw.com/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1710820787.3315
REQUEST_TIME 1710820787
Environment Variablesempty
ThinkPHP Constantsempty