[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/zslx0s3umzpsul...', 376, ['offset' => 0]) in Collection.php line 376
  3. at Collection->offsetGet(0) in Paginator.php line 329
  4. at Paginator->offsetGet(0) in Index.php line 355
  5. at Index->fengshui(null)
  6. at ReflectionMethod->invokeArgs(object(Index), [null]) in App.php line 343
  7. at App::invokeMethod([object(Index), 'fengshui'], []) in App.php line 611
  8. at App::module(['index', 'index', 'fengshui'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 456
  9. at App::exec(['type' => 'module', 'module' => ['index', 'index', 'fengshui'], 'convert' => false], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  10. at App::run() in start.php line 19
  11. at require('/home/zslx0s3umzpsul...') in index.php line 17

Environment Variables

GET Data

page
3
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

REDIRECT_UNIQUE_ID
ZgXAFglsM96nn4fSVB2gjQAAAAs
REDIRECT_PHPRC
/home/zslx0s3umzpsulmx40usd33u/others
REDIRECT_HANDLER
php-cgi
REDIRECT_STATUS
200
UNIQUE_ID
ZgXAFglsM96nn4fSVB2gjQAAAAs
PHPRC
/home/zslx0s3umzpsulmx40usd33u/others
HTTP_X_FORWARDED_FOR
44.213.75.78
HTTP_X_REAL_IP
211.149.140.180
HTTP_HOST
www.zyxbn.com
HTTP_CONNECTION
close
HTTP_ACCEPT_ENCODING
gzip
HTTP_X_FORWARDED_PROTO
http
HTTP_ACCEPT
*/*
HTTP_USER_AGENT
claudebot
HTTP_REFERER
http://zyxbn.com/xbn/baike/fengshui?page=3
PATH
/sbin:/usr/sbin:/bin:/usr/bin
SERVER_SIGNATURE
<address>Apache Server at www.zyxbn.com Port 80</address>
SERVER_SOFTWARE
Apache
SERVER_NAME
www.zyxbn.com
SERVER_ADDR
127.0.0.1
SERVER_PORT
80
REMOTE_ADDR
44.213.75.78
DOCUMENT_ROOT
/home/zslx0s3umzpsulmx40usd33u/wwwroot/
REQUEST_SCHEME
http
CONTEXT_PREFIX
/php-run-as-cgi
CONTEXT_DOCUMENT_ROOT
/usr/php7.2/bin
SERVER_ADMIN
webmaster@zslx0s3u
SCRIPT_FILENAME
/home/zslx0s3umzpsulmx40usd33u/wwwroot/index.php
REMOTE_PORT
50600
REDIRECT_URL
/index.php/xbn/baike/fengshui
REDIRECT_QUERY_STRING
page=3
GATEWAY_INTERFACE
CGI/1.1
SERVER_PROTOCOL
HTTP/1.1
REQUEST_METHOD
GET
QUERY_STRING
page=3
REQUEST_URI
/index.php/xbn/baike/fengshui?page=3
SCRIPT_NAME
/index.php
PATH_INFO
/xbn/baike/fengshui
PATH_TRANSLATED
/home/zslx0s3umzpsulmx40usd33u/wwwroot/xbn/baike/fengshui
ORIG_PATH_INFO
/index.php/xbn/baike/fengshui
ORIG_SCRIPT_NAME
/php-run-as-cgi/php-cgi
ORIG_SCRIPT_FILENAME
/usr/php7.2/bin/php-cgi
ORIG_PATH_TRANSLATED
/home/zslx0s3umzpsulmx40usd33u/wwwroot/index.php/xbn/baike/fengshui
PHP_SELF
/index.php/xbn/baike/fengshui
REQUEST_TIME_FLOAT
1711652886.347
REQUEST_TIME
1711652886
Environment Variables
empty

ThinkPHP Constants

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