澳门新莆京2020年版

[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', 'F:\web\simplewind\th...', 376, ['offset' => 0]) in Collection.php line 376
  3. at Collection->offsetGet(0) in ArticleController.php line 40
  4. at ArticleController->index()
  5. at ReflectionMethod->invokeArgs(object(ArticleController), []) in App.php line 343
  6. at App::invokeMethod([object(ArticleController), 'index'], []) in App.php line 611
  7. at App::module(['portal', 'Article', null], ['app_host' => '', 'app_debug' => true, 'app_trace' => true, ...], null) in App.php line 457
  8. at App::exec(['type' => 'module', 'module' => ['portal', 'Article', null]], ['app_host' => '', 'app_debug' => true, 'app_trace' => true, ...]) in App.php line 139
  9. at App::run() in index.php line 44

Environment Variables

GET Data

/portal/Article/
POST Data
empty
Files
empty

Cookies

PHPSESSID
lt1fbctn198rv1afeqrbkt89g0
Session
empty

Server/Request Data

PATH
C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps;
SYSTEMROOT
C:\Windows
COMSPEC
C:\Windows\system32\cmd.exe
PATHEXT
.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
WINDIR
C:\Windows
PHPRC
F:/phpstudy_pro/Extensions/php/php5.6.9nts
_FCGI_SHUTDOWN_EVENT_
10564
HTTP_CONNECTION
close
SCRIPT_NAME
/index.php
REQUEST_URI
/portal/Article/
QUERY_STRING
/portal/Article/
REQUEST_METHOD
GET
SERVER_PROTOCOL
HTTP/1.1
GATEWAY_INTERFACE
CGI/1.1
REDIRECT_QUERY_STRING
/portal/Article/
REDIRECT_URL
/portal/Article/
REMOTE_PORT
41956
SCRIPT_FILENAME
F:/web/index.php
SERVER_ADMIN
admin@example.com
CONTEXT_DOCUMENT_ROOT
F:/web
CONTEXT_PREFIX
REQUEST_SCHEME
http
DOCUMENT_ROOT
F:/web
REMOTE_ADDR
104.206.96.218
SERVER_PORT
80
SERVER_ADDR
192.168.0.138
SERVER_NAME
sxczwx.cn
SERVER_SOFTWARE
Apache/2.4.39 (Win64) OpenSSL/1.1.1b mod_fcgid/2.3.9a mod_log_rotate/1.02
SERVER_SIGNATURE
SystemRoot
C:\Windows
HTTP_COOKIE
PHPSESSID=lt1fbctn198rv1afeqrbkt89g0
HTTP_ACCEPT_ENCODING
gzip
HTTP_ACCEPT
*/*
HTTP_HOST
sxczwx.cn
HTTP_USER_AGENT
Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
REDIRECT_STATUS
200
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1656601790.8353
REQUEST_TIME
1656601790
PATH_INFO
/portal/Article/
Environment Variables
empty

ThinkPHP Constants

APP_DEBUG
true
CMF_ROOT
F:\web/
APP_PATH
F:\web/app/
CMF_PATH
F:\web/simplewind/cmf/
WEB_ROOT
F:\web/
PLUGINS_PATH
F:\web/plugins/
EXTEND_PATH
F:\web/simplewind/extend/
VENDOR_PATH
F:\web/simplewind/vendor/
RUNTIME_PATH
F:\web/data/runtime/
THINKCMF_VERSION
5.0.190111
THINK_VERSION
5.0.24
THINK_START_TIME
1656601790.8369
THINK_START_MEM
261096
EXT
.php
DS
\
THINK_PATH
F:\web\simplewind\thinkphp\
LIB_PATH
F:\web\simplewind\thinkphp\library\
CORE_PATH
F:\web\simplewind\thinkphp\library\think\
TRAIT_PATH
F:\web\simplewind\thinkphp\library\traits\
ROOT_PATH
F:\web\
LOG_PATH
F:\web/data/runtime/log\
CACHE_PATH
F:\web/data/runtime/cache\
TEMP_PATH
F:\web/data/runtime/temp\
CONF_PATH
F:\web/app/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
true
HTMLPURIFIER_PREFIX
F:\web\simplewind\vendor\ezyang\htmlpurifier\library
QINIU_FUNCTIONS_VERSION
7.2.5
0.114398s