[8] ErrorException in 6a87583d50a13fcc81d5ca8f1af70935.php line 129

未定义数组索引: id

  1. <ul class="fx-align-center fx-just-end">
  2. <li>
  3. <a href="<?php echo url('/'); ?>">首页</a>
  4. </li>
  5. <li>
  6. <img src="/assets/index/img/navigation-next.png" alt="">
  7. </li>
  8. <?php if(is_array($navSelect) || $navSelect instanceof \think\Collection || $navSelect instanceof \think\Paginator): $i = 0; $__LIST__ = $navSelect;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$navSelect): $mod = ($i % 2 );++$i;?>
  9. <li>
  10. <a href="<?php if($navSelect['remark'] != 1): ?><?php echo url($navSelect['remark'].$navSelect['id']); else: ?>javascript:void(0)<?php endif; ?>"><?php echo $navSelect['name']; ?></a>
  11. </li>
  12. <li>
  13. <img src="/assets/index/img/navigation-next.png" alt="">
  14. </li>
  15. <?php endforeach; endif; else: echo "" ;endif; ?>
  16. <li>
  17. <a href="javascript:void(0)">正文</a>
  18. </li>
  19. </ul>

Call Stack

  1. in 6a87583d50a13fcc81d5ca8f1af70935.php line 129
  2. at Error::appError(8, 'Undefined index: id', '/www/wwwroot/xueyuan...', 129, ['cacheFile' => '/www/wwwroot/xueyuan...', 'vars' => ['user' => null, 'navigation' => [['id' => 1, 'pid' => 0, 'name' => '新闻', ...], ['id' => 3, 'pid' => 0, 'name' => '课程', ...], ['id' => 2, 'pid' => 0, 'name' => '研究', ...], ...], 'SiteTitle' => '...', ...], 'user' => null, ...]) in 6a87583d50a13fcc81d5ca8f1af70935.php line 129
  3. at include('/www/wwwroot/xueyuan...') in File.php line 53
  4. at File->read('/www/wwwroot/xueyuan...', ['user' => null, 'navigation' => [['id' => 1, 'pid' => 0, 'name' => '新闻', ...], ['id' => 3, 'pid' => 0, 'name' => '课程', ...], ['id' => 2, 'pid' => 0, 'name' => '研究', ...], ...], 'SiteTitle' => '...', ...]) in Template.php line 188
  5. at Template->fetch('/www/wwwroot/xueyuan...', ['user' => null, 'navigation' => [['id' => 1, 'pid' => 0, 'name' => '新闻', ...], ['id' => 3, 'pid' => 0, 'name' => '课程', ...], ['id' => 2, 'pid' => 0, 'name' => '研究', ...], ...], 'SiteTitle' => '...', ...], []) in Think.php line 86
  6. at Think->fetch('/www/wwwroot/xueyuan...', ['user' => null, 'navigation' => [['id' => 1, 'pid' => 0, 'name' => '新闻', ...], ['id' => 3, 'pid' => 0, 'name' => '课程', ...], ['id' => 2, 'pid' => 0, 'name' => '研究', ...], ...], 'SiteTitle' => '...', ...], []) in View.php line 163
  7. at View->fetch() in Currency.php line 114
  8. at Currency->text()
  9. at ReflectionMethod->invokeArgs(object(Currency), []) in App.php line 343
  10. at App::invokeMethod([object(Currency), 'text'], []) in App.php line 611
  11. at App::module(['index', 'currency', 'text'], ['app_host' => '', 'app_debug' => '1', 'app_trace' => '', ...], true) in App.php line 456
  12. at App::exec(['type' => 'module', 'module' => ['index', 'currency', 'text']], ['app_host' => '', 'app_debug' => '1', 'app_trace' => '', ...]) in App.php line 139
  13. at App::run() in index.php line 50

Environment Variables

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

Server/Request Data

USER
www
HOME
/home/www
HTTP_HOST
xueyuan.dev.sdyingfeng.cn
HTTP_USER_AGENT
claudebot
HTTP_ACCEPT
*/*
PATH_INFO
/currency/text/id/77.html
REDIRECT_STATUS
200
SERVER_NAME
xueyuan.dev.sdyingfeng.cn
SERVER_PORT
80
SERVER_ADDR
172.23.230.156
REMOTE_PORT
35280
REMOTE_ADDR
35.175.172.94
SERVER_SOFTWARE
nginx/1.18.0
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/www/wwwroot/xueyuan.dev.sdyingfeng.cn/public
DOCUMENT_URI
/index.php
REQUEST_URI
/currency/text/id/77.html
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/currency/text/id/77.html
SCRIPT_FILENAME
/www/wwwroot/xueyuan.dev.sdyingfeng.cn/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1711636446.6287
REQUEST_TIME
1711636446
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/wwwroot/xueyuan.dev.sdyingfeng.cn/public/../application/
THINK_VERSION
5.0.24
THINK_START_TIME
1711636446.6292
THINK_START_MEM
417720
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/xueyuan.dev.sdyingfeng.cn/thinkphp/
LIB_PATH
/www/wwwroot/xueyuan.dev.sdyingfeng.cn/thinkphp/library/
CORE_PATH
/www/wwwroot/xueyuan.dev.sdyingfeng.cn/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/xueyuan.dev.sdyingfeng.cn/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/xueyuan.dev.sdyingfeng.cn/
EXTEND_PATH
/www/wwwroot/xueyuan.dev.sdyingfeng.cn/extend/
VENDOR_PATH
/www/wwwroot/xueyuan.dev.sdyingfeng.cn/vendor/
RUNTIME_PATH
/www/wwwroot/xueyuan.dev.sdyingfeng.cn/runtime/
LOG_PATH
/www/wwwroot/xueyuan.dev.sdyingfeng.cn/runtime/log/
CACHE_PATH
/www/wwwroot/xueyuan.dev.sdyingfeng.cn/runtime/cache/
TEMP_PATH
/www/wwwroot/xueyuan.dev.sdyingfeng.cn/runtime/temp/
CONF_PATH
/www/wwwroot/xueyuan.dev.sdyingfeng.cn/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
FILTER_VALIDATE_BOOL
258
ADDON_PATH
/www/wwwroot/xueyuan.dev.sdyingfeng.cn/addons/