[8] ErrorException in 792f7097ecd16ebe13980eb7e0f1af85.php line 183

未定义数组索引: id

  1. <!-- <a href="<?php echo $_cate['jump']; ?>"></a>-->
  2. <!--</div>-->
  3. <!--<?php else: ?>-->
  4. <!--<div class="n_banner bg_style"style="background-image: url(<?php echo get_file_path($producte['us_bannerp']); ?>);">-->
  5. <!-- <a href="<?php echo $producte['us_bannerp_url']; ?>"></a>-->
  6. <!--</div>-->
  7. <!--<?php endif; ?>-->
  8. <div class="container">
  9. <div class="text_center">
  10. <?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']): ?>
  11. <h3 class="prod_tit"><?php echo $vo['name']; ?></h3>
  12. <?php endif; endforeach; endif; else: echo "" ;endif; ?>
  13. <!--<div class="type">-->
  14. <!-- <ul>-->
  15. <!-- <?php if(empty($_cate)): ?>-->
  16. <!-- <li class="active">-->
  17. <!-- <?php else: ?>-->
  18. <!-- <li>-->

Call Stack

  1. in 792f7097ecd16ebe13980eb7e0f1af85.php line 183
  2. at Error::appError(8, 'Undefined index: id', '/data/wwwroot/2019/v...', 183, ['cacheFile' => '/data/wwwroot/2019/v...', 'vars' => ['lang' => ['id' => 2, 'name' => 'US', 'url' => 'us', ...], 'alert' => 0, 'langs' => [['id' => 2, 'name' => 'US', 'url' => 'us', ...], ['id' => 4, 'name' => 'DE', 'url' => 'de', ...], ['id' => 3, 'name' => 'CA', 'url' => 'ca', ...], ...], ...], 'lang' => ['id' => 2, 'name' => 'US', 'url' => 'us', ...], ...]) in 792f7097ecd16ebe13980eb7e0f1af85.php line 183
  3. at include('/data/wwwroot/2019/v...') in File.php line 53
  4. at File->read('/data/wwwroot/2019/v...', ['lang' => ['id' => 2, 'name' => 'US', 'url' => 'us', ...], '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' => 2, 'name' => 'US', 'url' => 'us', ...], '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' => 2, 'name' => 'US', 'url' => 'us', ...], '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/us', ['lang' => ['id' => 2, 'name' => 'US', 'url' => 'us', ...], '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/us') in Product.php line 99
  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
empty
POST Data
empty
Files
empty

Cookies

dolphin_home_alert
1
Session
empty

Server/Request Data

USER
www
HOME
/home/www
HTTP_HOST
www.vanmass.com
HTTP_USER_AGENT
claudebot
HTTP_ACCEPT
*/*
PATH_INFO
/us/product/
REDIRECT_STATUS
200
SERVER_NAME
www.vanmass.com
SERVER_PORT
80
SERVER_ADDR
172.19.0.5
REMOTE_PORT
54868
REMOTE_ADDR
34.234.83.135
SERVER_SOFTWARE
nginx/1.22.1
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/data/wwwroot/2019/vanmass/public
DOCUMENT_URI
/index.php
REQUEST_URI
/us/product/
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/us/product/
SCRIPT_FILENAME
/data/wwwroot/2019/vanmass/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1711633834.1195
REQUEST_TIME
1711633834
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
1711633834.12
THINK_START_MEM
380200
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
/