[8] ErrorException in b4390833f53c1c9af6ddf12b78f37ee0.php line 2

未定义数组索引: cate_id

  1. <?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:67:"/data/user/htdocs/application/portal/view/product/product_show.html";i:1695606349;s:56:"/data/user/htdocs/application/portal/view/item_base.html";i:1690441003;}*/ ?>
  2. <html xmlns="http://www.w3.org/1999/xhtml"><html><head><?php $req_arr = explode('/', \think\Request::instance()->pathinfo()); $req = str_replace('.html' , '', $req_arr[0]); ?><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no" /><meta name="description" content=""><meta name="keywords" content=""><?php echo get_seo(get_cate_id($req)); ?><link rel="stylesheet" href="/application/portal/view/public/css/swiper.min.css"><link rel="stylesheet" href="/application/portal/view/public/css/style.css"></head><body class="show"><?php echo widget('Common/item_header'); $pcate = get_cate($req); $article = get_article(\think\Request::instance()->param('id')); $article_parent = get_article_list((int)$article['cate_id']); $status_list = get_status_list($article['parent_id']); $status_name2 = get_status_name2($article['id']); ?><!-- 面包屑导航 --><div class="container water_bread"><a style="color: #555;" href="/">首页&nbsp&nbsp</a> ><a style="color: #555;" href="/product/index">&nbsp&nbsp产品中心&nbsp&nbsp</a> ><a style="color: #555;" href="/product/product_list/<?php echo $status_list['id']; ?>.html">&nbsp&nbsp<?php echo $status_list['cate_name']; ?>&nbsp&nbsp</a> ><a style="color: #555;" href="/product/product_list/<?php echo $status_list['id']; ?>/<?php echo $status_name2['id']; ?>.html">&nbsp&nbsp<?php echo $status_name2['cate_name']; ?>&nbsp&nbsp</a> ><a style="color: #555;" href="">&nbsp&nbsp<?php echo $article['title']; ?></a></div><!-- 主要内容 --><div class="product product_show"><div class="container"><div class="top" id="pros01"><div class="left"><div class="swiper-container swiper-pro-show-top"><div class="swiper-wrapper"><?php if(is_array($article['multimage_textArray']) || $article['multimage_textArray'] instanceof \think\Collection || $article['multimage_textArray'] instanceof \think\Paginator): $i = 0; $__LIST__ = $article['multimage_textArray'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$item): $mod = ($i % 2 );++$i;if(!empty($item)): ?><div class="swiper-slide"><img src="<?php echo $item; ?>" alt=""></div><?php endif; endforeach; endif; else: echo "" ;endif; ?></div></div><div class="swiper-container swiper-pro-show-bom"><div class="swiper-wrapper"><?php if(is_array($article['multimage_textArray']) || $article['multimage_textArray'] instanceof \think\Collection || $article['multimage_textArray'] instanceof \think\Paginator): $i = 0; $__LIST__ = $article['multimage_textArray'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$item): $mod = ($i % 2 );++$i;if(!empty($item)): ?><div class="swiper-slide"><img src="<?php echo $item; ?>" alt=""></div><?php endif; endforeach; endif; else: echo "" ;endif; ?></div></div><div class="swiper-button-next swiper-button-next-pro">&gt;</div><div class="swiper-button-prev swiper-button-prev-pro">&lt;</div></div><div class="right"><h4><?php echo $article['title']; ?></h4><div class="text"><?php echo $article['info']; ?></div><!-- <a href="#footer_message"><img src="/application/portal/view/public/images/btn_01.png" alt=""></a> --></div></div><div class="cont" id="pros02"><div class="til_box"><div class="tab_til" id="normaltab2"><div class="current">产品详情</div><div>规格参数</div><!-- <div>服务承诺</div> --><div>产品资质</div><!-- <div>产品视频</div>--><div>相关产品</div></div></div><div class="tab_cont" id="normalcon2"><div><div class="rich_text"><?php echo $article['content']; ?></div></div><div><div class="rich_text"><?php echo $article['content1']; ?></div></div><!-- <div><div class="rich_text"><?php echo $article['content2']; ?></div></div> --><div><div class="rich_text"><?php echo $article['content3']; ?></div></div><!-- <div><div class="rich_text"><video src="<?php echo $article['video_url']; ?>" controls poster="<?php echo $article['art_img']; ?>"></video></div></div> --><div><div class="pro_list_group"><?php if(is_array($article_parent) || $article_parent instanceof \think\Collection || $article_parent instanceof \think\Paginator): $i = 0; $__LIST__ = $article_parent;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$val): $mod = ($i % 2 );++$i;if($val['id'] != \think\Request::instance()->param('id')): ?><div class="pro_list"><a style="color: #555;" href="<?php echo url('product/product_show/'.$val['id']); ?>"><img src="<?php echo $val['art_img']; ?>" alt=""><h4><?php echo $val['title']; ?></h4></a></div><?php endif; endforeach; endif; else: echo "" ;endif; ?></div></div></div></div><div class="bottom_show"><?php if(!(empty($article['prev']) || (($article['prev'] instanceof \think\Collection || $article['prev'] instanceof \think\Paginator ) && $article['prev']->isEmpty()))): ?><span>上一篇:<a href="<?php echo url('product/product_show/'.$article['prev']['id']); ?>"><?php echo $article['prev']['title']; ?></a></span><?php endif; if(!(empty($article['next']) || (($article['next'] instanceof \think\Collection || $article['next'] instanceof \think\Paginator ) && $article['next']->isEmpty()))): ?><span>下一篇:<a href="<?php echo url('product/product_show/'.$article['next']['id']); ?>"><?php echo $article['next']['title']; ?></a></span><?php endif; ?><a href="<?php echo url('product/product_list/'.$article['parent_id']); ?>" class="btn">返回列表</a></div></div></div><!--js调用--><script type="text/javascript" src="/application/portal/view/public/js/jquery.min.js"></script><script type="text/javascript" src="/application/portal/view/public/js/swiper.min.js"></script><script type="text/javascript" src="/application/portal/view/public/js/www.aini-web.js"></script><script type="text/javascript" src="/application/portal/view/public/js/jquery.tabso_yeso.js"></script><!-- 通用 --><script type="text/javascript" src="/application/portal/view/public/js/common.js"></script><script type="text/javascript">
  3. window.onload = function(){
  4. productShow()
  5. navShow()
  6. }
  7. </script><style>
  8. .bottom_show span{
  9. width: 100%;
  10. }
  11. </style><?php echo widget('Common/footer'); ?><!-- 自定义脚本 --></body></html>

Call Stack

  1. in b4390833f53c1c9af6ddf12b78f37ee0.php line 2
  2. at Error::appError(8, 'Undefined index: cat...', '/data/user/htdocs/ru...', 2, ['cacheFile' => '/data/user/htdocs/ru...', 'vars' => ['setting' => ['title' => ['id' => 20, 'title' => '网站名称', 'key' => 'title', ...], 'author' => ['id' => 21, 'title' => '网站作者', 'key' => 'author', ...], 'generator' => ['id' => 22, 'title' => '程序引擎', 'key' => 'generator', ...], ...], 'static_path' => '/public/static/', 'common_path' => '/public/static/commo...', ...], 'setting' => ['title' => ['id' => 20, 'title' => '网站名称', 'key' => 'title', ...], 'author' => ['id' => 21, 'title' => '网站作者', 'key' => 'author', ...], 'generator' => ['id' => 22, 'title' => '程序引擎', 'key' => 'generator', ...], ...], ...]) in b4390833f53c1c9af6ddf12b78f37ee0.php line 2
  3. at include('/data/user/htdocs/ru...') in File.php line 53
  4. at File->read('/data/user/htdocs/ru...', ['setting' => ['title' => ['id' => 20, 'title' => '网站名称', 'key' => 'title', ...], 'author' => ['id' => 21, 'title' => '网站作者', 'key' => 'author', ...], 'generator' => ['id' => 22, 'title' => '程序引擎', 'key' => 'generator', ...], ...], 'static_path' => '/public/static/', 'common_path' => '/public/static/commo...', ...]) in Template.php line 188
  5. at Template->fetch('/data/user/htdocs/ap...', ['setting' => ['title' => ['id' => 20, 'title' => '网站名称', 'key' => 'title', ...], 'author' => ['id' => 21, 'title' => '网站作者', 'key' => 'author', ...], 'generator' => ['id' => 22, 'title' => '程序引擎', 'key' => 'generator', ...], ...], 'static_path' => '/public/static/', 'common_path' => '/public/static/commo...', ...], []) in Think.php line 86
  6. at Think->fetch('/data/user/htdocs/ap...', ['setting' => ['title' => ['id' => 20, 'title' => '网站名称', 'key' => 'title', ...], 'author' => ['id' => 21, 'title' => '网站作者', 'key' => 'author', ...], 'generator' => ['id' => 22, 'title' => '程序引擎', 'key' => 'generator', ...], ...], 'static_path' => '/public/static/', 'common_path' => '/public/static/commo...', ...], []) in View.php line 163
  7. at View->fetch('', ['setting' => ['title' => ['id' => 20, 'title' => '网站名称', 'key' => 'title', ...], 'author' => ['id' => 21, 'title' => '网站作者', 'key' => 'author', ...], 'generator' => ['id' => 22, 'title' => '程序引擎', 'key' => 'generator', ...], ...], 'static_path' => '/public/static/', 'common_path' => '/public/static/commo...', ...], ['__ROOT__' => '', '__URL__' => '/portal/product', '__STATIC__' => '/public/static/', ...], []) in Controller.php line 120
  8. at Controller->fetch() in Base.php line 21
  9. at Base->_empty('product_show')
  10. at ReflectionMethod->invokeArgs(object(Product), ['product_show']) in App.php line 196
  11. at App::invokeMethod([object(Product), '_empty'], ['product_show']) in App.php line 412
  12. at App::module([null, 'product', 'product_show'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 295
  13. at App::exec(['type' => 'module', 'module' => [null, 'product', 'product_show'], 'convert' => false], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 123
  14. at App::run() in start.php line 19
  15. at require('/data/user/htdocs/zh...') in index.php line 29

Environment Variables

GET Data
empty
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

USER
nobody
HOME
/
HTTP_HOST
sdbenan.com
HTTP_USER_AGENT
claudebot
HTTP_ACCEPT
*/*
REDIRECT_STATUS
200
SERVER_NAME
wh-nqit4kdp7gb68z4jlbs.my3w.com
SERVER_PORT
80
SERVER_ADDR
10.17.22.96
REMOTE_PORT
45922
REMOTE_ADDR
100.24.20.141
SERVER_SOFTWARE
nginx/1.18.0
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/data/user/htdocs
DOCUMENT_URI
/index.php
REQUEST_URI
/product/product_show/273.html
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/product/product_show/273.html
PATH_INFO
/product/product_show/273.html
SCRIPT_FILENAME
/data/user/htdocs/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1711638098.8305
REQUEST_TIME
1711638098
Environment Variables
empty

ThinkPHP Constants

APP_DEBUG
true
IS_PUBLIC
false
ROOT_PATH
/data/user/htdocs/
PUBLIC_NAME
public
APP_PATH
/data/user/htdocs/application/
WEJOY_PATH
/data/user/htdocs/zhmx/
EXTEND_PATH
/data/user/htdocs/zhmx/extend/
VENDOR_PATH
/data/user/htdocs/zhmx/vendor/
DEFAULT_MOUDULE
portal
THINK_VERSION
5.0.24
THINK_START_TIME
1711638098.8306
THINK_START_MEM
402688
EXT
.php
DS
/
THINK_PATH
/data/user/htdocs/zhmx/thinkphp/
LIB_PATH
/data/user/htdocs/zhmx/thinkphp/library/
CORE_PATH
/data/user/htdocs/zhmx/thinkphp/library/think/
TRAIT_PATH
/data/user/htdocs/zhmx/thinkphp/library/traits/
RUNTIME_PATH
/data/user/htdocs/runtime/
LOG_PATH
/data/user/htdocs/runtime/log/
CACHE_PATH
/data/user/htdocs/runtime/cache/
TEMP_PATH
/data/user/htdocs/runtime/temp/
CONF_PATH
/data/user/htdocs/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
MODEL
0
IS_CLI
false
IS_WIN
false