[8] ErrorException in 011cef179abfbd8142fecf5cfd902bb0.php line 203

Trying to access array offset on value of type null

  1. <!--banner end-->
  2. <!--内容-->
  3. <div class="wrapper news">
  4. <div class="public-left">
  5. <h1><img src="/static/pc/default/images/jq/logo.png" />下载中心<span></span></h1>
  6. <ul>
  7. <?php if(isset($menu)): foreach($menu as $vo): ?>
  8. <li>
  9. <?php if(isset($vo['sub'])): ?>
  10. <a href="javascript:;" <?php if($vo['id'] == $class['pid']): ?>class="on"<?php endif; ?> ><i class="round"></i><?php echo (isset($vo['name']) && ($vo['name'] !== '')?$vo['name']:''); ?></a>
  11. <dl <?php if($vo['id'] != $class['pid']): ?>class="none"<?php endif; ?>>
  12. <?php foreach($vo['sub'] as $sub): ?>
  13. <dd><a href="<?php echo url('@download',['cid'=>$sub['id']]); ?>?rows=5" <?php if($sub['id'] == $class['id']): ?>class="on" <?php endif; if(ACTION_NAME == 'details' && $vo['id'] == $class['id']): ?>class="on" <?php endif; ?>><i class="round"></i><?php echo (isset($sub['name']) && ($sub['name'] !== '')?$sub['name']:''); ?></a></dd>
  14. <?php endforeach; ?>
  15. </dl>
  16. <?php else: ?>
  17. <a href="<?php echo url('@download',['cid'=>$vo['id']]); ?>?rows=5" <?php if($vo['id'] == $class['id']): ?>class="on" <?php endif; if(ACTION_NAME == 'details' && $vo['id'] == $class['id']): ?>class="on"<?php endif; ?>><i class="round"></i><?php echo (isset($vo['name']) && ($vo['name'] !== '')?$vo['name']:''); ?></a>
  18. <?php endif; ?>
  19. </li>

Call Stack

  1. in 011cef179abfbd8142fecf5cfd902bb0.php line 203
  2. at Error::appError() in 011cef179abfbd8142fecf5cfd902bb0.php line 203
  3. at include('/var/www/html/odb/ru...') in File.php line 53
  4. at File->read() in Template.php line 188
  5. at Template->fetch() in Think.php line 86
  6. at Think->fetch() in View.php line 163
  7. at View->fetch() in Controller.php line 120
  8. at Controller->fetch() in BasicHome.php line 83
  9. at BasicHome->_list() in Index.php line 57
  10. at Index->lists()
  11. at ReflectionMethod->invokeArgs() in App.php line 343
  12. at App::invokeMethod() in App.php line 611
  13. at App::module() in App.php line 456
  14. at App::exec() in App.php line 139
  15. at App::run() in start.php line 19
  16. at require('/var/www/html/odb/th...') in index.php line 20

Environment Variables

GET Data
empty
POST Data
empty
Files
empty

Cookies

sbda7c1a0
l833ud6jn5socdp4rjm6nue7mm
rows
15
Session
empty

Server/Request Data

REDIRECT_UNIQUE_ID
ZlqmDdt-kcjN8GKAaqBTHAAAABg
REDIRECT_STATUS
200
UNIQUE_ID
ZlqmDdt-kcjN8GKAaqBTHAAAABg
HTTP_HOST
ogb.shec.edu.cn
HTTP_USER_AGENT
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36
HTTP_ACCEPT
*/*
HTTP_ACCEPT_ENCODING
gzip, deflate
HTTP_ACCEPT_LANGUAGE
zh-CN,zh;q=0.9,en;q=0.8
HTTP_COOKIE
sbda7c1a0=l833ud6jn5socdp4rjm6nue7mm; rows=15
HTTP_REFERER
/download/cid/www.xwjy.org
HTTP_X_FORWARDED_BY
:443
HTTP_X_FORWARDED_FOR
117.183.149.244, 103.45.128.30
HTTP_X_FORWARDED_HOST
ogb.shec.edu.cn
HTTP_X_FORWARDED_PROTO
https
HTTP_X_REAL_IP
117.183.149.244
PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
SERVER_SIGNATURE
SERVER_SOFTWARE
Apache/2.4.55 (codeit) PHP/7.4.33
SERVER_NAME
ogb.shec.edu.cn
SERVER_ADDR
172.19.68.2
SERVER_PORT
80
REMOTE_ADDR
172.19.68.76
DOCUMENT_ROOT
/var/www/html/odb
REQUEST_SCHEME
http
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT
/var/www/html/odb
SERVER_ADMIN
root@localhost
SCRIPT_FILENAME
/var/www/html/odb/index.php
REMOTE_PORT
60080
REDIRECT_URL
/download/cid/www.xwjy.org
REDIRECT_QUERY_STRING
s=download/cid/www.xwjy.org
GATEWAY_INTERFACE
CGI/1.1
SERVER_PROTOCOL
HTTP/1.1
REQUEST_METHOD
GET
QUERY_STRING
s=download/cid/www.xwjy.org
REQUEST_URI
/download/cid/www.xwjy.org
SCRIPT_NAME
/index.php
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1717216781.4793
REQUEST_TIME
1717216781
PATH_INFO
download/cid/www.xwjy.org
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/var/www/html/odb/application/
RUNTIME_PATH
/var/www/html/odb/runtime/
THINK_VERSION
5.0.24
THINK_START_TIME
1717216781.4798
THINK_START_MEM
361416
EXT
.php
DS
/
THINK_PATH
/var/www/html/odb/thinkphp/
LIB_PATH
/var/www/html/odb/thinkphp/library/
CORE_PATH
/var/www/html/odb/thinkphp/library/think/
TRAIT_PATH
/var/www/html/odb/thinkphp/library/traits/
ROOT_PATH
/var/www/html/odb/
EXTEND_PATH
/var/www/html/odb/extend/
VENDOR_PATH
/var/www/html/odb/vendor/
LOG_PATH
/var/www/html/odb/runtime/log/
CACHE_PATH
/var/www/html/odb/runtime/cache/
TEMP_PATH
/var/www/html/odb/runtime/temp/
CONF_PATH
/var/www/html/odb/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
QINIU_FUNCTIONS_VERSION
7.2.1
MODULE_NAME
download
CONTROLLER_NAME
Index
ACTION_NAME
lists