[8] ErrorException in f3394385452f816c3355ba93b840b81b.php line 137

未定义变量: currentId

  1. <?php if(in_array(((isset($topChannel) && ($topChannel !== '')?$topChannel:0)), explode(',',"2,3"))): if(!(empty($data['id']) || (($data['id'] instanceof \think\Collection || $data['id'] instanceof \think\Paginator ) && $data['id']->isEmpty()))): ?>
  2. <?php echo $data['title']; else: if(!empty($optionData) AND !empty($query['k'])): ?>
  3. <?php echo $optionData[$query['k']]; else: ?>
  4. <?php echo $vo['title']; endif; endif; else: ?>
  5. <?php echo $vo['title']; endif; ?>
  6. </h2>
  7. </div>
  8. <?php endif; endforeach; endif; else: echo "" ;endif; endif; ?>
  9. <!--BANNER-->
  10. <?php if(!empty($currentChannel) AND ($channels[$currentChannel]['parent_id'] == 27) AND !empty($navigation['main'][$topId]) AND !empty($navigation['main'][$topId]['children']) AND !empty($navigation['main'][$topId]['children'][$currentId]) AND !empty($navigation['main'][$topId]['children'][$currentId]['children'])): ?>
  11. <div class="list pageNav2 pcShow">
  12. <div class="wal">
  13. <ul>
  14. <?php if(is_array($navigation['main'][$topId]['children'][$currentId]['children']) || $navigation['main'][$topId]['children'][$currentId]['children'] instanceof \think\Collection || $navigation['main'][$topId]['children'][$currentId]['children'] instanceof \think\Paginator): $i = 0; $__LIST__ = $navigation['main'][$topId]['children'][$currentId]['children'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
  15. <li><a href="<?php echo (isset($vo['url']) && ($vo['url'] !== '')?$vo['url']:'javascript:;'); ?>" <?php if((isset($currentChannel) && ($currentChannel !== '')?$currentChannel:0) == $vo['channel']): ?>class="on"<?php endif; ?>><?php echo $vo['name']; ?></a></li>
  16. <?php endforeach; endif; else: echo "" ;endif; ?>
  17. </ul>
  18. </div>
  19. </div>

Call Stack

  1. in f3394385452f816c3355ba93b840b81b.php line 137
  2. at Error::appError(8, 'Undefined variable: ...', '/www/web/visystem_cn...', 137, ['cacheFile' => '/www/web/visystem_cn...', 'vars' => ['langset' => 'zh-cn', 'moduleName' => 'index', 'controllerName' => 'article', ...], 'langset' => 'zh-cn', ...]) in f3394385452f816c3355ba93b840b81b.php line 137
  3. at include('/www/web/visystem_cn...') in File.php line 53
  4. at File->read('/www/web/visystem_cn...', ['langset' => 'zh-cn', 'moduleName' => 'index', 'controllerName' => 'article', ...]) in Template.php line 188
  5. at Template->fetch('/www/web/visystem_cn...', ['langset' => 'zh-cn', 'moduleName' => 'index', 'controllerName' => 'article', ...], []) in Think.php line 86
  6. at Think->fetch('/www/web/visystem_cn...', ['langset' => 'zh-cn', 'moduleName' => 'index', 'controllerName' => 'article', ...], []) in View.php line 167
  7. at View->fetch('index@Content/course...', ['langset' => 'zh-cn', 'moduleName' => 'index', 'controllerName' => 'article', ...], ['__ROOT__' => '', '__URL__' => '/index/article', '__STATIC__' => '/static', ...], []) in Controller.php line 120
  8. at Controller->fetch('index@Content/course...') in Article.php line 132
  9. at Article->index()
  10. at ReflectionMethod->invokeArgs(object(Article), []) in App.php line 362
  11. at App::invokeMethod([object(Article), 'index'], []) in App.php line 630
  12. at App::module([null, 'Article', 'index'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 475
  13. at App::exec(['type' => 'module', 'module' => [null, 'Article', 'index'], 'convert' => false], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 158
  14. at App::run() in start.php line 18
  15. at require('/www/web/visystem_cn...') in index.php line 18

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /dev/null
HTTP_HOST visystem.cn
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
REDIRECT_STATUS 200
SERVER_NAME visystem.cn
SERVER_PORT 443
SERVER_ADDR 172.27.214.106
REMOTE_PORT 55100
REMOTE_ADDR 44.200.39.110
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/web/visystem_cn/public_html
DOCUMENT_URI /index.php
REQUEST_URI /course-schedule/349
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=//course-schedule/349
SERVER_SOFTWARE nginx
GATEWAY_INTERFACE CGI/1.1
PATH_INFO //course-schedule/349
SCRIPT_FILENAME /www/web/visystem_cn/public_html/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711670321.984
REQUEST_TIME 1711670321
Environment Variablesempty
ThinkPHP Constants
APP_PATH /www/web/visystem_cn/public_html/wogee/app/
CONF_PATH /www/web/visystem_cn/public_html/wogee/config/
THINK_VERSION 5.0.24
THINK_START_TIME 1711670321.9844
THINK_START_MEM 371712
EXT .php
DS /
THINK_PATH /www/web/visystem_cn/public_html/wogee/framework/
LIB_PATH /www/web/visystem_cn/public_html/wogee/framework/library/
CORE_PATH /www/web/visystem_cn/public_html/wogee/framework/library/think/
TRAIT_PATH /www/web/visystem_cn/public_html/wogee/framework/library/traits/
ROOT_PATH /www/web/visystem_cn/public_html/wogee/
EXTEND_PATH /www/web/visystem_cn/public_html/wogee/extend/
VENDOR_PATH /www/web/visystem_cn/public_html/wogee/vendor/
RUNTIME_PATH /www/web/visystem_cn/public_html/wogee/runtime/
LOG_PATH /www/web/visystem_cn/public_html/wogee/runtime/log/
CACHE_PATH /www/web/visystem_cn/public_html/wogee/runtime/cache/
TEMP_PATH /www/web/visystem_cn/public_html/wogee/runtime/temp/
CONF_EXT .php
ENV_PREFIX PHP_
__PUBLIC__
__ROOT_PATH__ /www/web/visystem_cn/public_html/
IS_CLI false
IS_WIN false