[8] ErrorException in common.php line 95

未定义数组下标: 0

  1. '24' => '工作团队',
  2. '25' => '景点',
  3. '26' => '小吃',
  4. '27' => '特产',
  5. '28' => '酒店',
  6. '29' => '城市',
  7. '30' => '购物',
  8. '31' => '下载',
  9. ];
  10. return $arr[$id];
  11. }
  12. function msubstr($str, $start=0, $length, $charset="utf-8", $suffix=true) {
  13. if(function_exists("mb_substr")){
  14. if($suffix)
  15. return mb_substr($str, $start, $length, $charset)."...";
  16. else
  17. return mb_substr($str, $start, $length, $charset);
  18. }
  19. elseif(function_exists('iconv_substr')) {

Call Stack

  1. in common.php line 95
  2. at Error::appError(8, 'Undefined offset: 0', '/www/wwwroot/misstou...', 95, ['id' => 0, 'arr' => ['赛事动态', '媒体报道', '视频影像', ...]]) in common.php line 95
  3. at geCate(0) in 30fe75b4b771e68b4d6b188443c06693.php line 5
  4. at include('/www/wwwroot/misstou...') in File.php line 53
  5. at File->read('/www/wwwroot/misstou...', ['news0' => [object(News), object(News), object(News), ...], 'news1' => [object(News), object(News), object(News), ...], 'news2' => [object(News), object(News), object(News), ...], ...]) in Template.php line 188
  6. at Template->fetch('/www/wwwroot/misstou...', ['news0' => [object(News), object(News), object(News), ...], 'news1' => [object(News), object(News), object(News), ...], 'news2' => [object(News), object(News), object(News), ...], ...], []) in Think.php line 86
  7. at Think->fetch('', ['news0' => [object(News), object(News), object(News), ...], 'news1' => [object(News), object(News), object(News), ...], 'news2' => [object(News), object(News), object(News), ...], ...], []) in View.php line 163
  8. at View->fetch('', [], [], []) in Controller.php line 120
  9. at Controller->fetch() in News.php line 27
  10. at News->index()
  11. at ReflectionMethod->invokeArgs(object(News), []) in App.php line 343
  12. at App::invokeMethod([object(News), 'index'], []) in App.php line 611
  13. at App::module(['index', 'News', 'index'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], null) in App.php line 457
  14. at App::exec(['type' => 'module', 'module' => ['index', 'News', 'index']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  15. at App::run() in start.php line 19
  16. at require('/www/wwwroot/misstou...') in index.php line 23

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
/www/wwwroot/misstour7/index.php
QUERY_STRING
s=/index/News/index.html
REQUEST_METHOD
GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME
/index.php
REQUEST_URI
/index/News/index.html
DOCUMENT_URI
/index.php
DOCUMENT_ROOT
/www/wwwroot/misstour7
SERVER_PROTOCOL
HTTP/1.1
REQUEST_SCHEME
http
GATEWAY_INTERFACE
CGI/1.1
SERVER_SOFTWARE
nginx/1.18.0
REMOTE_ADDR
54.166.234.171
REMOTE_PORT
57656
SERVER_ADDR
172.17.158.237
SERVER_PORT
80
SERVER_NAME
www.misstourismworld.me
REDIRECT_STATUS
200
PATH_INFO
/index/News/index.html
HTTP_ACCEPT
*/*
HTTP_USER_AGENT
claudebot
HTTP_REFERER
http://www.misstourismworld.me/index/news/detail/id/770.html
HTTP_HOST
www.misstourismworld.me
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1710846071.6487
REQUEST_TIME
1710846071
Environment Variables
empty

ThinkPHP Constants

__PUBLIC__
/public
APP_PATH
/www/wwwroot/misstour7/app/
DATA_PATH
/www/wwwroot/misstour7/runtime/Data/
PLUGIN_PATH
/www/wwwroot/misstour7/plugins/
THINK_VERSION
5.0.24
THINK_START_TIME
1710846071.6493
THINK_START_MEM
262912
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/misstour7/think/
LIB_PATH
/www/wwwroot/misstour7/think/library/
CORE_PATH
/www/wwwroot/misstour7/think/library/think/
TRAIT_PATH
/www/wwwroot/misstour7/think/library/traits/
ROOT_PATH
/www/wwwroot/misstour7/
EXTEND_PATH
/www/wwwroot/misstour7/extend/
VENDOR_PATH
/www/wwwroot/misstour7/vendor/
RUNTIME_PATH
/www/wwwroot/misstour7/runtime/
LOG_PATH
/www/wwwroot/misstour7/runtime/log/
CACHE_PATH
/www/wwwroot/misstour7/runtime/cache/
TEMP_PATH
/www/wwwroot/misstour7/runtime/temp/
CONF_PATH
/www/wwwroot/misstour7/app/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false