[8] ErrorException in 6120bf25a4c87176557fbc09efc02726.php line 262

未定义数组索引:

  1. <li><a href="/index/news/?id=<?php echo $v['id']; ?>"><span class="pad"><?php echo $v['name']; ?></span></a></li>
  2. <?php endforeach; ?>
  3. </ul>
  4. <!-- /.header_local-nav -->
  5. </nav>
  6. <div class="b_topic-path">
  7. <!-- InstanceBeginEditable name="breadcrumb" -->
  8. <p itemprop="breadcrumb">
  9. <a href="/" class="top">Home</a><span class="separator">&gt;</span><a href="/index/news/"><?php echo __('News'.$lang); ?></a>
  10. <span class="separator">&gt;</span><a href="/index/news/?id=<?php echo $info['cid']; ?>"><?php echo $news_category[$info['cid']]['name']; ?></a><span class="separator">&gt;</span><a><?php echo $info['title']; ?></a>
  11. </p>
  12. <!-- InstanceEndEditable -->
  13. <!-- /.b_topic-path -->
  14. </div>
  15. <!-- InstanceBeginEditable name="b_page-title" -->
  16. <div class="b_page-title">
  17. <h1 itemprop="name"><?php echo $info['title']; ?></h1>
  18. <!-- /.b_page-title -->
  19. </div>

Call Stack

  1. in 6120bf25a4c87176557fbc09efc02726.php line 262
  2. at Error::appError(8, 'Undefined index: ', '/web/ttz_mucaotree_c...', 262, ['cacheFile' => '/web/ttz_mucaotree_c...', 'vars' => ['news_category' => [['id' => 20, 'name' => '公司动态', 'image' => '/uploads/20211013/0c...', ...], ['id' => 21, 'name' => '活动风采', 'image' => '/uploads/20211013/83...', ...]], 'about_category' => [['id' => 23, 'name' => '公司简介', 'image' => '/uploads/20211013/79...', ...], ['id' => 24, 'name' => '经营方针', 'image' => '/uploads/20211013/b3...', ...], ['id' => 25, 'name' => '证书获得情况', 'image' => '/uploads/20211013/fe...', ...], ...], 'products_category' => [['id' => 14, 'name' => '...', 'image' => '/uploads/20211012/d3...', ...], ['id' => 15, 'name' => '加热线产品', 'image' => '/uploads/20211114/23...', ...], ['id' => 18, 'name' => '...', 'image' => '/uploads/20211117/a9...', ...], ...], ...], 'news_category' => [['id' => 20, 'name' => '公司动态', 'image' => '/uploads/20211013/0c...', ...], ['id' => 21, 'name' => '活动风采', 'image' => '/uploads/20211013/83...', ...]], ...]) in 6120bf25a4c87176557fbc09efc02726.php line 262
  3. at include('/web/ttz_mucaotree_c...') in File.php line 53
  4. at File->read('/web/ttz_mucaotree_c...', ['news_category' => [['id' => 20, 'name' => '公司动态', 'image' => '/uploads/20211013/0c...', ...], ['id' => 21, 'name' => '活动风采', 'image' => '/uploads/20211013/83...', ...]], 'about_category' => [['id' => 23, 'name' => '公司简介', 'image' => '/uploads/20211013/79...', ...], ['id' => 24, 'name' => '经营方针', 'image' => '/uploads/20211013/b3...', ...], ['id' => 25, 'name' => '证书获得情况', 'image' => '/uploads/20211013/fe...', ...], ...], 'products_category' => [['id' => 14, 'name' => '...', 'image' => '/uploads/20211012/d3...', ...], ['id' => 15, 'name' => '加热线产品', 'image' => '/uploads/20211114/23...', ...], ['id' => 18, 'name' => '...', 'image' => '/uploads/20211117/a9...', ...], ...], ...]) in Template.php line 188
  5. at Template->fetch('/web/ttz_mucaotree_c...', ['news_category' => [['id' => 20, 'name' => '公司动态', 'image' => '/uploads/20211013/0c...', ...], ['id' => 21, 'name' => '活动风采', 'image' => '/uploads/20211013/83...', ...]], 'about_category' => [['id' => 23, 'name' => '公司简介', 'image' => '/uploads/20211013/79...', ...], ['id' => 24, 'name' => '经营方针', 'image' => '/uploads/20211013/b3...', ...], ['id' => 25, 'name' => '证书获得情况', 'image' => '/uploads/20211013/fe...', ...], ...], 'products_category' => [['id' => 14, 'name' => '...', 'image' => '/uploads/20211012/d3...', ...], ['id' => 15, 'name' => '加热线产品', 'image' => '/uploads/20211114/23...', ...], ['id' => 18, 'name' => '...', 'image' => '/uploads/20211117/a9...', ...], ...], ...], []) in Think.php line 86
  6. at Think->fetch('/web/ttz_mucaotree_c...', ['news_category' => [['id' => 20, 'name' => '公司动态', 'image' => '/uploads/20211013/0c...', ...], ['id' => 21, 'name' => '活动风采', 'image' => '/uploads/20211013/83...', ...]], 'about_category' => [['id' => 23, 'name' => '公司简介', 'image' => '/uploads/20211013/79...', ...], ['id' => 24, 'name' => '经营方针', 'image' => '/uploads/20211013/b3...', ...], ['id' => 25, 'name' => '证书获得情况', 'image' => '/uploads/20211013/fe...', ...], ...], 'products_category' => [['id' => 14, 'name' => '...', 'image' => '/uploads/20211012/d3...', ...], ['id' => 15, 'name' => '加热线产品', 'image' => '/uploads/20211114/23...', ...], ['id' => 18, 'name' => '...', 'image' => '/uploads/20211117/a9...', ...], ...], ...], []) in View.php line 163
  7. at View->fetch() in News.php line 97
  8. at News->info()
  9. at ReflectionMethod->invokeArgs(object(News), []) in App.php line 343
  10. at App::invokeMethod([object(News), 'info'], []) in App.php line 611
  11. at App::module(['index', 'news', 'info'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], true) in App.php line 456
  12. at App::exec(['type' => 'module', 'module' => ['index', 'news', 'info']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  13. at App::run() in start.php line 19
  14. at require('/web/ttz_mucaotree_c...') in index.php line 23

Environment Variables

GET Data

id
21
POST Data
empty
Files
empty

Cookies

ttz_lang
zh-cn
Session
empty

Server/Request Data

USER
www
HOME
/home/www
HTTP_HOST
ttz.com.cn
HTTP_USER_AGENT
claudebot
HTTP_ACCEPT
*/*
PATH_INFO
/index/news/info/index
REDIRECT_STATUS
200
SERVER_NAME
www.ttz.com.cn
SERVER_PORT
80
SERVER_ADDR
172.16.19.236
REMOTE_PORT
48130
REMOTE_ADDR
54.146.97.79
SERVER_SOFTWARE
nginx/1.18.0
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/web/ttz_mucaotree_com/public
DOCUMENT_URI
/index.php
REQUEST_URI
/index/news/info/index?id=21
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/index/news/info/index&id=21
SCRIPT_FILENAME
/web/ttz_mucaotree_com/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1711712654.9785
REQUEST_TIME
1711712654
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/web/ttz_mucaotree_com/public/../application/
THINK_VERSION
5.0.24
THINK_START_TIME
1711712654.9789
THINK_START_MEM
409056
EXT
.php
DS
/
THINK_PATH
/web/ttz_mucaotree_com/thinkphp/
LIB_PATH
/web/ttz_mucaotree_com/thinkphp/library/
CORE_PATH
/web/ttz_mucaotree_com/thinkphp/library/think/
TRAIT_PATH
/web/ttz_mucaotree_com/thinkphp/library/traits/
ROOT_PATH
/web/ttz_mucaotree_com/
EXTEND_PATH
/web/ttz_mucaotree_com/extend/
VENDOR_PATH
/web/ttz_mucaotree_com/vendor/
RUNTIME_PATH
/web/ttz_mucaotree_com/runtime/
LOG_PATH
/web/ttz_mucaotree_com/runtime/log/
CACHE_PATH
/web/ttz_mucaotree_com/runtime/cache/
TEMP_PATH
/web/ttz_mucaotree_com/runtime/temp/
CONF_PATH
/web/ttz_mucaotree_com/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
FILTER_VALIDATE_BOOL
258
ADDON_PATH
/web/ttz_mucaotree_com/addons/