[8] ErrorException in 5a7cd1dd722538da811b763ed200bbe6.php line 87

Undefined offset: 0

  1. <li><a href="<?php echo $v['url']; ?>" class="<?php if(!(empty($class2_id) || (($class2_id instanceof \think\Collection || $class2_id instanceof \think\Paginator ) && $class2_id->isEmpty()))): if($class2_id == $v['id']): ?>active<?php endif; endif; ?>">· <?php echo $v['name']; ?></a> </li>
  2. <?php endforeach; endif; else: echo "" ;endif; endif; ?>
  3. <li class="genduo"><a href="<?php echo $class_index['1']['url']; ?>">更多>></a></li>
  4. </ul>
  5. </div>
  6. <div class="porder_oke">
  7. <section>
  8. <h2><?php echo $class_title; ?></h2>
  9. <p><?php echo $class_list[$class2_id]['nikname']; ?></p>
  10. </section>
  11. <ul class="ul_li">
  12. <?php if(is_array($list) || $list instanceof \think\Collection || $list instanceof \think\Paginator): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?>
  13. <li data-aos="fade-up">
  14. <a href="<?php echo $v['url']; ?>"><img src="<?php echo $v['thum_img']; ?>" alt="<?php echo $v['title']; ?>"></a>
  15. <p class="g-f-ellipsis"><?php echo $v['title']; ?></p>
  16. <div>
  17. <a href="<?php echo $class_index['43']['url']; ?>">< 立即咨询</a>
  18. <a href="<?php echo $v['url']; ?>">进入详情 ></a>

Call Stack

  1. in 5a7cd1dd722538da811b763ed200bbe6.php line 87
  2. at Error::appError(8, 'Undefined offset: 0', '/www/fsjrs.com/runti...', 87, ['cacheFile' => '/www/fsjrs.com/runti...', 'vars' => ['ctr' => 'Product', 'index_url' => '/index.html', 'langArr' => [['name' => 'zh-cn', 'url' => '/index.html?lang=zh-...'], ['name' => 'en-us', 'url' => '/index.html?lang=en-...']], ...], 'ctr' => 'Product', ...]) in 5a7cd1dd722538da811b763ed200bbe6.php line 87
  3. at include('/www/fsjrs.com/runti...') in File.php line 53
  4. at File->read('/www/fsjrs.com/runti...', ['ctr' => 'Product', 'index_url' => '/index.html', 'langArr' => [['name' => 'zh-cn', 'url' => '/index.html?lang=zh-...'], ['name' => 'en-us', 'url' => '/index.html?lang=en-...']], ...]) in Template.php line 188
  5. at Template->fetch('./template/home/prod...', ['ctr' => 'Product', 'index_url' => '/index.html', 'langArr' => [['name' => 'zh-cn', 'url' => '/index.html?lang=zh-...'], ['name' => 'en-us', 'url' => '/index.html?lang=en-...']], ...], []) in Think.php line 86
  6. at Think->fetch('home/product', ['ctr' => 'Product', 'index_url' => '/index.html', 'langArr' => [['name' => 'zh-cn', 'url' => '/index.html?lang=zh-...'], ['name' => 'en-us', 'url' => '/index.html?lang=en-...']], ...], []) in View.php line 163
  7. at View->fetch('home/product', [], [], []) in Controller.php line 120
  8. at Controller->fetch('home/product') in Product.php line 12
  9. at Product->product()
  10. at ReflectionMethod->invokeArgs(object(Product), []) in App.php line 343
  11. at App::invokeMethod([object(Product), 'product'], []) in App.php line 611
  12. at App::module(['home', 'Product', 'product'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 457
  13. at App::exec(['type' => 'module', 'module' => ['home', 'Product', 'product'], 'convert' => false], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  14. at App::run() in start.php line 19
  15. at require('/www/fsjrs.com/think...') in index.php line 18

Environment Variables

GET Data
empty
POST Data
empty
Files
empty

Cookies

$Version
1
PHPSESSID
2lmj1c1toii4i6cbdc32nedgb0
$Path
/

Session

xianyu
{ "lang": "zh-cn" }
d2d977c58444271d9c780187e93f80e5
{ "verify_code": "efb92fd47b504d7a817618e92eb7f6e2", "verify_time": 1657948902 }

Server/Request Data

USER
www
HOME
/alidata/www
FCGI_ROLE
RESPONDER
SCRIPT_FILENAME
/www/fsjrs.com/public/index.php
QUERY_STRING
s=/product/1.html
REQUEST_METHOD
GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME
/index.php
REQUEST_URI
/product/1.html
DOCUMENT_URI
/index.php
DOCUMENT_ROOT
/www/fsjrs.com/public
SERVER_PROTOCOL
HTTP/1.1
GATEWAY_INTERFACE
CGI/1.1
SERVER_SOFTWARE
nginx/1.4.4
REMOTE_ADDR
111.248.130.205
REMOTE_PORT
12529
SERVER_ADDR
172.18.63.158
SERVER_PORT
80
SERVER_NAME
fsjrs.com
REDIRECT_STATUS
200
HTTP_REFERER
http://www.fsjrs.com/
HTTP_COOKIE
$Version=1; PHPSESSID=2lmj1c1toii4i6cbdc32nedgb0; $Path=/
HTTP_CONNECTION
keep-alive
HTTP_HOST
www.fsjrs.com
HTTP_USER_AGENT
Mozilla/4.5 (compatible; HTTrack 3.0x; Windows 98)
HTTP_ACCEPT
text/html,image/png,image/jpeg,image/pjpeg,image/x-xbitmap,image/svg+xml,image/gif;q=0.9,*/*;q=0.1
HTTP_ACCEPT_LANGUAGE
en, *
HTTP_ACCEPT_ENCODING
gzip, identity;q=0.9
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1657949205.0952
REQUEST_TIME
1657949205
PATH_INFO
/product/1.html
ALL_HTTP
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/fsjrs.com/public/application/
CONF_PATH
/www/fsjrs.com/public/config/
THINK_VERSION
5.0.24
THINK_START_TIME
1657949205.0958
THINK_START_MEM
262888
EXT
.php
DS
/
THINK_PATH
/www/fsjrs.com/thinkphp/
LIB_PATH
/www/fsjrs.com/thinkphp/library/
CORE_PATH
/www/fsjrs.com/thinkphp/library/think/
TRAIT_PATH
/www/fsjrs.com/thinkphp/library/traits/
ROOT_PATH
/www/fsjrs.com/
EXTEND_PATH
/www/fsjrs.com/extend/
VENDOR_PATH
/www/fsjrs.com/vendor/
RUNTIME_PATH
/www/fsjrs.com/runtime/
LOG_PATH
/www/fsjrs.com/runtime/log/
CACHE_PATH
/www/fsjrs.com/runtime/cache/
TEMP_PATH
/www/fsjrs.com/runtime/temp/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false