[8] ErrorException in 1fc3b784f97b73b4abc1c488c8a7991d.php line 2

Trying to access array offset on value of type null

  1. <?php /*a:4:{s:64:"/www/wwwroot/wbasr.com/application/index/view/showlist/news.html";i:1667289978;s:62:"/www/wwwroot/wbasr.com/application/index/view/common/head.html";i:1671150673;s:64:"/www/wwwroot/wbasr.com/application/index/view/common/header.html";i:1671150446;s:64:"/www/wwwroot/wbasr.com/application/index/view/common/footer.html";i:1705375212;}*/ ?>
  2. <!DOCTYPE html><html lang="zh-CN"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><title><?php echo htmlentities($data['seo_title']); ?>-<?php echo sysconf('site_name'); ?></title><meta name="keywords" content="<?php echo htmlentities($data['keywords']); ?>"><meta name="description" content="<?php echo htmlentities($data['desc']); ?>"><meta name="renderer" content="webkit|ie-comp|ie-stand" /><meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"><meta http-equiv="Cache-Control" content="no-transform" /><meta name="applicable-device" content="pc,wap"><meta name="MobileOptimized" content="width" /><meta name="HandheldFriendly" content="true" /><link rel="stylesheet" href="/static/css/animate.min.css"><link rel="stylesheet" href="/static/css/swiper.min.css"><link rel="stylesheet" href="/static/css/style.css"><script src="/static/js/jquery.min.js"></script><script src="/static/js/wow.min.js"></script><script src="/static/js/swiper.min.js"></script><script src="/static/js/index.js"></script><script src="https://tjwbasr.com/static/js/WJC.js"></script></head><style> .list-4 li .img-center {
  3. width: 150px;
  4. }
  5. .list-4 li .text {
  6. margin: 0 0 0 190px;
  7. }
  8. </style><body><!--头部开始--><div class="header"><div class="container clearfix wow fadeInDown"><a href="javascript:;" class="menu-btn"><span></span></a><div class="logo img-center wow rubberBand"><a href="/" title="<?php echo sysconf('site_name'); ?>"><img src="<?php echo sysconf('site_logo'); ?>" alt="<?php echo sysconf('site_name'); ?>"></a></div><div class="tel">咨询热线:
  9. <strong><?php echo sysconf('site_phone'); ?></strong></div></div><div class="nav"><div class="container"><ul><li class=""><a href="/">网站首页</a></li><?php if(is_array($nav) || $nav instanceof \think\Collection || $nav instanceof \think\Paginator): $i = 0; $__LIST__ = $nav;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><li class="dropdown "><i class="arr"></i><a href="/<?php echo htmlentities($vo['type']); ?>/<?php echo htmlentities($vo['id']); ?>.html"><?php echo htmlentities($vo['title']); ?></a><?php if(isset($vo['son'])): ?><div class="dropdown-box"><?php if(is_array($vo['son']) || $vo['son'] instanceof \think\Collection || $vo['son'] instanceof \think\Paginator): $i = 0; $__LIST__ = $vo['son'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?><p><a href="/<?php echo htmlentities($v['type']); ?>/<?php echo htmlentities($v['id']); ?>.html"><?php echo htmlentities($v['title']); ?></a></p><?php endforeach; endif; else: echo "" ;endif; ?></div><?php endif; ?></li><?php endforeach; endif; else: echo "" ;endif; ?><li class=""><a href="/page/10.html">联系我们</a></li></ul></div></div></div><!--头部结束--><div class="banner-sub" style="background-image: url(/static/images/nybanner.jpg);"></div><div class="section-sub"><div class="container"><ul class="nav-sub"><?php if(is_array($nav_about) || $nav_about instanceof \think\Collection || $nav_about instanceof \think\Paginator): $i = 0; $__LIST__ = $nav_about;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><li><a href="/news/<?php echo htmlentities($vo['id']); ?>.html"><?php echo htmlentities($vo['title']); ?></a></li><?php endforeach; endif; else: echo "" ;endif; ?></ul><ul class="list-4"><?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=>$vo): $mod = ($i % 2 );++$i;?><li><a href="/newsdetail/<?php echo htmlentities($vo['id']); ?>.html" title="<?php echo htmlentities($vo['title']); ?>"><div class="img-center"><img src="<?php echo htmlentities($vo['logo']); ?>" onerror="javascript:this.src='/d/file/bigpic/200714/fdntscvysrs180344.jpg';" alt="<?php echo htmlentities($vo['title']); ?>"></div><div class="text"><h4><?php echo htmlentities($vo['title']); ?></h4><div class="date"><span><?php echo htmlentities(date("Y-m-d",!is_numeric($vo['create_at'])? strtotime($vo['create_at']) : $vo['create_at'])); ?></span><i></i></div><?php echo htmlentities(mb_substr(strip_tags($vo['content']),0,100,'utf-8')); ?>.....
  10. </div></a></li><?php endforeach; endif; else: echo "" ;endif; ?></ul><div class="dede_pages"><?php echo $list->render(); ?></div><!----><div class="section-title wow fadeInUp"><small>PRODUCT CENTER</small><strong><span style="color:red;">热门</span>产品</strong></div><ul class="list-1 clearfix"><?php
  11. $list = think\Db::name('site_goods')->where(['is_deleted'=>'0','status'=>'1'])->where("cate_id=4")->field('id,title,logo, create_at')->limit('6')->order('id desc')->select();
  12. $__LIST__ = $list;
  13. 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=>$vo): $mod = ($i % 2 );++$i;?><li><a href="/goodsdetail/<?php echo htmlentities($vo['id']); ?>.html" title="<?php echo htmlentities($vo['title']); ?>"><div class="img-cover"><span style="background-image: url(<?php echo htmlentities($vo['logo']); ?>);"></span></div><div class="text"><?php echo htmlentities($vo['title']); ?></div><div class="more">MORE</div></a></li><?php endforeach; endif; else: echo "" ;endif; ?></ul></div></div><!--底部开始--><div class="footer"><div class="container clearfix wow fadeInUp"><?php if(is_array($nav) || $nav instanceof \think\Collection || $nav instanceof \think\Paginator): $i = 0; $__LIST__ = $nav;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><dl><dt><?php echo htmlentities($vo['title']); ?></dt><dd><?php if(isset($vo['son'])): ?><ul><?php if(is_array($vo['son']) || $vo['son'] instanceof \think\Collection || $vo['son'] instanceof \think\Paginator): $i = 0; $__LIST__ = $vo['son'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?><li><a href="/<?php echo htmlentities($v['type']); ?>/<?php echo htmlentities($v['id']); ?>.html"><?php echo htmlentities($v['title']); ?></a></li><?php endforeach; endif; else: echo "" ;endif; ?></ul><?php endif; ?></dd></dl><?php endforeach; endif; else: echo "" ;endif; ?><div class="pp clearfix"></div><div class="footer-contact"><div class="tel"><?php echo sysconf('site_phone'); ?><br><small> 张经理</small></div><div class="code clearfix"><div class="img-center"><!--<img src="/static/picture/weixin.png" />--></div><div class="text"><br></div></div></div></div><div class="footer-copy"><div class="container"><p>Copyright Reserved 2012-2024 <?php echo sysconf('site_name'); ?> 版权所有</p><p><a href="http://beian.miit.gov.cn/" target="_blank" rel="nofollow"><?php echo sysconf('miitbeian'); ?></a></p></div></div></div><!--百度推送--><script>
  14. (function () {
  15. var bp = document.createElement('script');
  16. var curProtocol = window.location.protocol.split(':')[0];

Call Stack

  1. in 1fc3b784f97b73b4abc1c488c8a7991d.php line 2
  2. at Error::appError() in 1fc3b784f97b73b4abc1c488c8a7991d.php line 2
  3. at include('/www/wwwroot/wbasr.c...') in File.php line 59
  4. at File->read() in Template.php line 226
  5. at Template->fetch() in Think.php line 93
  6. at Think->fetch() in View.php line 192
  7. at View->fetch() in View.php line 42
  8. at View->output() in Response.php line 396
  9. at Response->getContent() in Response.php line 128
  10. at Response->send() in index.php line 20

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_REFERER http://www.wbasr.com/news/list_21_4.html
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
HTTP_HOST www.wbasr.com
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME wbasr.com
SERVER_PORT 443
SERVER_ADDR 122.114.157.252
REMOTE_PORT 55724
REMOTE_ADDR 44.202.90.91
SERVER_SOFTWARE nginx/1.22.1
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/2.0
DOCUMENT_ROOT /www/wwwroot/wbasr.com/public
DOCUMENT_URI /index.php
REQUEST_URI /news/list_21_4.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/news/list_21_4.html
SCRIPT_FILENAME /www/wwwroot/wbasr.com/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711652067.4809
REQUEST_TIME 1711652067
Environment Variablesempty
ThinkPHP Constants
QINIU_FUNCTIONS_VERSION 7.3.0