[8] ErrorException in 34cc654ebfcb2e3d0f981a29c5b7ef6f.php line 175

未定义数组索引: id

  1. </div>
  2. </div>
  3. </nav>
  4. </div>
  5. <main>
  6. <div class="container">
  7. <div class="text_center">
  8. <?php if(is_array($all_cate) || $all_cate instanceof \think\Collection || $all_cate instanceof \think\Paginator): $i = 0; $__LIST__ = $all_cate;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;if($_cate['id'] == $vo['id']): ?>
  9. <h3 class="prod_tit"><?php echo $vo['name']; ?></h3>
  10. <?php endif; endforeach; endif; else: echo "" ;endif; ?>
  11. </div>
  12. <div class="pd_list_box clearfix">
  13. <?php if(is_array($dataList) || $dataList instanceof \think\Collection || $dataList instanceof \think\Paginator): $i = 0; $__LIST__ = $dataList;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
  14. <div class="pd_div">
  15. <a href="<?php echo url('index/product/detail', ['lang'=>$lang['url'], 'id'=>$vo['id']]); ?>">
  16. <div class="pd_img"><img src="<?php echo get_file_path($vo['img']); ?>" /></div>
  17. <div class="pd_txt text-center">

Call Stack

  1. in 34cc654ebfcb2e3d0f981a29c5b7ef6f.php line 175
  2. at Error::appError(8, 'Undefined index: id', '/data/wwwroot/2019/v...', 175, ['cacheFile' => '/data/wwwroot/2019/v...', 'vars' => ['lang' => ['id' => 4, 'name' => 'DE', 'url' => 'de', ...], 'alert' => 0, 'langs' => [['id' => 2, 'name' => 'US', 'url' => 'us', ...], ['id' => 4, 'name' => 'DE', 'url' => 'de', ...], ['id' => 3, 'name' => 'CA', 'url' => 'ca', ...], ...], ...], 'lang' => ['id' => 4, 'name' => 'DE', 'url' => 'de', ...], ...]) in 34cc654ebfcb2e3d0f981a29c5b7ef6f.php line 175
  3. at include('/data/wwwroot/2019/v...') in File.php line 53
  4. at File->read('/data/wwwroot/2019/v...', ['lang' => ['id' => 4, 'name' => 'DE', 'url' => 'de', ...], 'alert' => 0, 'langs' => [['id' => 2, 'name' => 'US', 'url' => 'us', ...], ['id' => 4, 'name' => 'DE', 'url' => 'de', ...], ['id' => 3, 'name' => 'CA', 'url' => 'ca', ...], ...], ...]) in Template.php line 188
  5. at Template->fetch('/data/wwwroot/2019/v...', ['lang' => ['id' => 4, 'name' => 'DE', 'url' => 'de', ...], 'alert' => 0, 'langs' => [['id' => 2, 'name' => 'US', 'url' => 'us', ...], ['id' => 4, 'name' => 'DE', 'url' => 'de', ...], ['id' => 3, 'name' => 'CA', 'url' => 'ca', ...], ...], ...], []) in Think.php line 86
  6. at Think->fetch('/data/wwwroot/2019/v...', ['lang' => ['id' => 4, 'name' => 'DE', 'url' => 'de', ...], 'alert' => 0, 'langs' => [['id' => 2, 'name' => 'US', 'url' => 'us', ...], ['id' => 4, 'name' => 'DE', 'url' => 'de', ...], ['id' => 3, 'name' => 'CA', 'url' => 'ca', ...], ...], ...], []) in View.php line 163
  7. at View->fetch('product/index/de', ['lang' => ['id' => 4, 'name' => 'DE', 'url' => 'de', ...], 'alert' => 0, 'langs' => [['id' => 2, 'name' => 'US', 'url' => 'us', ...], ['id' => 4, 'name' => 'DE', 'url' => 'de', ...], ['id' => 3, 'name' => 'CA', 'url' => 'ca', ...], ...], ...], ['__ROOT__' => '', '__URL__' => '/index/product', '__STATIC__' => '/static', ...], []) in Controller.php line 120
  8. at Controller->fetch('product/index/de') in Product.php line 105
  9. at Product->index()
  10. at ReflectionMethod->invokeArgs(object(Product), []) in App.php line 343
  11. at App::invokeMethod([object(Product), 'index'], []) in App.php line 611
  12. at App::module(['index', 'product', 'index'], ['app_host' => '', 'app_debug' => true, 'app_trace' => '0', ...], false) in App.php line 456
  13. at App::exec(['type' => 'module', 'module' => ['index', 'product', 'index'], '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('/data/wwwroot/2019/v...') in index.php line 34

Environment Variables

GET Data

page
2
POST Data
empty
Files
empty

Cookies

dolphin_home_alert
1
Session
empty

Server/Request Data

USER
www
HOME
/home/www
HTTP_REFERER
http://vanmasslife.com/de/product?page=2
HTTP_USER_AGENT
claudebot
HTTP_ACCEPT
*/*
HTTP_HOST
www.vanmass.com
PATH_INFO
/de/product
REDIRECT_STATUS
200
SERVER_NAME
www.vanmass.com
SERVER_PORT
443
SERVER_ADDR
172.19.0.5
REMOTE_PORT
45722
REMOTE_ADDR
44.223.42.120
SERVER_SOFTWARE
nginx/1.22.1
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
REQUEST_SCHEME
https
SERVER_PROTOCOL
HTTP/2.0
DOCUMENT_ROOT
/data/wwwroot/2019/vanmass/public
DOCUMENT_URI
/index.php
REQUEST_URI
/de/product?page=2
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/de/product&page=2
SCRIPT_FILENAME
/data/wwwroot/2019/vanmass/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1711716906.4056
REQUEST_TIME
1711716906
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/data/wwwroot/2019/vanmass/public/../application/
ADMIN_FILE
szxj.php
THINK_VERSION
5.0.23
THINK_START_TIME
1711716906.406
THINK_START_MEM
380728
EXT
.php
DS
/
THINK_PATH
/data/wwwroot/2019/vanmass/thinkphp/
LIB_PATH
/data/wwwroot/2019/vanmass/thinkphp/library/
CORE_PATH
/data/wwwroot/2019/vanmass/thinkphp/library/think/
TRAIT_PATH
/data/wwwroot/2019/vanmass/thinkphp/library/traits/
ROOT_PATH
/data/wwwroot/2019/vanmass/
EXTEND_PATH
/data/wwwroot/2019/vanmass/extend/
VENDOR_PATH
/data/wwwroot/2019/vanmass/vendor/
RUNTIME_PATH
/data/wwwroot/2019/vanmass/runtime/
LOG_PATH
/data/wwwroot/2019/vanmass/runtime/log/
CACHE_PATH
/data/wwwroot/2019/vanmass/runtime/cache/
TEMP_PATH
/data/wwwroot/2019/vanmass/runtime/temp/
CONF_PATH
/data/wwwroot/2019/vanmass/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
HTMLPURIFIER_PREFIX
/data/wwwroot/2019/vanmass/vendor/ezyang/htmlpurifier/library
PUBLIC_PATH
/