[8] ErrorException in Collection.php line 376

未定义数组下标: 0

  1. /**
  2. * 获取指定键对应的值
  3. * @access public
  4. * @param mixed $offset 键名
  5. * @return mixed
  6. */
  7. public function offsetGet($offset)
  8. {
  9. return $this->items[$offset];
  10. }
  11. /**
  12. * 设置键值
  13. * @access public
  14. * @param mixed $offset 键名
  15. * @param mixed $value 值
  16. * @return void
  17. */

Call Stack

  1. in Collection.php line 376
  2. at Error::appError(8, 'Undefined offset: 0', '/home/wwwroot/www.ch...', 376, ['offset' => 0]) in Collection.php line 376
  3. at Collection->offsetGet(0) in Paginator.php line 329
  4. at Paginator->offsetGet(0) in Server.php line 68
  5. at Server->index()
  6. at ReflectionMethod->invokeArgs(object(Server), []) in App.php line 197
  7. at App::invokeMethod([object(Server), 'index'], []) in App.php line 419
  8. at App::module(['en', 'server', null], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], null) in App.php line 296
  9. at App::exec(['type' => 'module', 'module' => ['en', 'server', null]], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 124
  10. at App::run() in start.php line 19
  11. at require('/home/wwwroot/www.ch...') in index.php line 16

Environment Variables

GET Data
empty
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

USER
www
HOME
/home/www
FCGI_ROLE
RESPONDER
SCRIPT_FILENAME
/home/wwwroot/www.chinasbm.com/public/index.php
QUERY_STRING
s=//en/server
REQUEST_METHOD
GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME
/index.php
REQUEST_URI
/en/server
DOCUMENT_URI
/index.php
DOCUMENT_ROOT
/home/wwwroot/www.chinasbm.com/public
SERVER_PROTOCOL
HTTP/1.1
REQUEST_SCHEME
http
GATEWAY_INTERFACE
CGI/1.1
SERVER_SOFTWARE
nginx/1.16.1
REMOTE_ADDR
154.86.245.79
REMOTE_PORT
20002
SERVER_ADDR
172.19.160.219
SERVER_PORT
80
SERVER_NAME
new.chinasbm.com
REDIRECT_STATUS
200
PHP_ADMIN_VALUE
open_basedir=/home/wwwroot/www.chinasbm.com/:/tmp/:/proc/
PATH_INFO
//en/server
HTTP_USER_AGENT
Mozilla/5.0+(compatible;+Baiduspider/2.0;++http://www.baidu.com/search/spider.html)
HTTP_HOST
www.chinasbm.com
HTTP_ACCEPT
*/*
HTTP_ACCEPT_ENCODING
deflate, gzip
PHP_SELF
REQUEST_TIME_FLOAT
1586420738.0553
REQUEST_TIME
1586420738
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/home/wwwroot/www.chinasbm.com/public/../application/
THINK_VERSION
5.0.24
THINK_START_TIME
1586420738.0557
THINK_START_MEM
260568
EXT
.php
DS
/
THINK_PATH
/home/wwwroot/www.chinasbm.com/thinkphp/
LIB_PATH
/home/wwwroot/www.chinasbm.com/thinkphp/library/
CORE_PATH
/home/wwwroot/www.chinasbm.com/thinkphp/library/think/
TRAIT_PATH
/home/wwwroot/www.chinasbm.com/thinkphp/library/traits/
ROOT_PATH
/home/wwwroot/www.chinasbm.com/
EXTEND_PATH
/home/wwwroot/www.chinasbm.com/extend/
VENDOR_PATH
/home/wwwroot/www.chinasbm.com/vendor/
RUNTIME_PATH
/home/wwwroot/www.chinasbm.com/runtime/
LOG_PATH
/home/wwwroot/www.chinasbm.com/runtime/log/
CACHE_PATH
/home/wwwroot/www.chinasbm.com/runtime/cache/
TEMP_PATH
/home/wwwroot/www.chinasbm.com/runtime/temp/
CONF_PATH
/home/wwwroot/www.chinasbm.com/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false