[8] ErrorException in 9e16c3765300e5ce283b4a16ee70f23c.php line 2

未定义数组索引: guid

  1. <?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:65:"/www/wwwroot/36.139.126.69/application/portal/view/news/item.html";i:1688968971;s:60:"/www/wwwroot/36.139.126.69/application/portal/view/base.html";i:1689058550;}*/ ?>
  2. <!DOCTYPE html><html lang="zh"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;"/><?php echo get_seo(); ?><link rel="stylesheet" href="<?php echo $default_path; ?>/css/index.css"><link rel="stylesheet" href="<?php echo $default_path; ?>/css/swiper-bundle.min.css"><script src="<?php echo $default_path; ?>/js/jquery-3.6.0.js"></script></head><body><?php echo widget('Common/header'); $pcate = get_cate(444); $all = get_cate_child(444); $guid = (\think\Request::instance()->param('guid') ?: $all[0]['guid']); $cate = get_cate($guid); $article = get_article(\think\Request::instance()->param('id')); ?><div class="mainbox"><img src="<?php echo $default_path; ?>/img/tiao.png" class="navtiao" alt=""><!-- banner --><div class="banner"><img src="<?php echo $pcate['cate_img']; ?>" alt=""></div><div class="twonavs"><div class="center62"><?php if(is_array($all) || $all instanceof \think\Collection || $all instanceof \think\Paginator): $i = 0; $__LIST__ = $all;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><a href="<?php echo url('/news/'.$vo['guid']); ?>" class="twonv ft18 <?php if($vo['guid'] == $guid): ?>select<?php endif; ?>"><?php echo $vo['cate_name']; ?></a><?php endforeach; endif; else: echo "" ;endif; ?></div></div><div class="aboutinfos"><div class="center62"><div class="mianbao"><img src="<?php echo $default_path; ?>/img/dw.png" alt=""><a href="<?php echo url('/'); ?>" class="ft16">首页</a><span class="ft16">></span><a href="<?php echo url('/'.$pcate['guid']); ?>" class="ft16"><?php echo $pcate['cate_name']; ?></a><span class="ft16">></span><a href="<?php echo url('/'.$pcate['guid'].'/'.$cate['guid']); ?>" class="ft16"><?php echo $cate['cate_name']; ?></a></div><div class="xwxqtitle"><h2 class="ft30"><?php echo $article['title']; ?></h2><p class="ft16">发布时间: <?php echo date('Y年m月d日', $article['update_time']); ?>  浏览量:<?php echo $article['views']; ?>次  </p></div><div class="xwxqinfos ft16"><?php echo $article['content']; ?></div><div class="shangxia"><a href="<?php echo url('/'.$pcate['guid'].'/'.$cate['guid']); ?>" class="fanhui1 ft18">返回列表</a><?php if(!(empty($article['prev']) || (($article['prev'] instanceof \think\Collection || $article['prev'] instanceof \think\Paginator ) && $article['prev']->isEmpty()))): ?><a href="<?php echo url('/'.$pcate['guid'].'/'.$cate['guid'].'/'.$article['prev']['id']); ?>" class="ft16">上一篇:<?php echo $article['prev']['title']; ?></a><?php endif; ?><a href="<?php echo url('/'.$pcate['guid'].'/'.$cate['guid']); ?>" class="fanhui2 ft18">返回列表</a><?php if(!(empty($article['next']) || (($article['next'] instanceof \think\Collection || $article['next'] instanceof \think\Paginator ) && $article['next']->isEmpty()))): ?><a href="<?php echo url('/'.$pcate['guid'].'/'.$cate['guid'].'/'.$article['next']['id']); ?>" class="ft16">下一篇:<?php echo $article['next']['title']; ?></a><?php endif; ?></div></div></div></div><script> $(function() {
  3. $('.twonv').click(function(){
  4. $(this).addClass('select').siblings().removeClass('select');
  5. $('.aboutinfos>.center62').eq($(this).index()).show().siblings().hide();
  6. })
  7. })
  8. </script><script src="<?php echo $default_path; ?>/js/swiper-bundle.min.js"></script><script src="<?php echo $default_path; ?>/js/getrem.js"></script><?php echo widget('Common/footer'); ?><!-- 自定义脚本 --></body></html>

Call Stack

  1. in 9e16c3765300e5ce283b4a16ee70f23c.php line 2
  2. at Error::appError(8, 'Undefined index: gui...', '/www/wwwroot/36.139....', 2, ['cacheFile' => '/www/wwwroot/36.139....', 'vars' => ['setting' => ['telephone' => '0531-80876110', 'title' => '水发建设集团', 'author' => 'ZhangZhiwei', ...], 'static_path' => '/public/static/', 'common_path' => '/public/static/commo...', ...], 'setting' => ['telephone' => '0531-80876110', 'title' => '水发建设集团', 'author' => 'ZhangZhiwei', ...], ...]) in 9e16c3765300e5ce283b4a16ee70f23c.php line 2
  3. at include('/www/wwwroot/36.139....') in File.php line 53
  4. at File->read('/www/wwwroot/36.139....', ['setting' => ['telephone' => '0531-80876110', 'title' => '水发建设集团', 'author' => 'ZhangZhiwei', ...], 'static_path' => '/public/static/', 'common_path' => '/public/static/commo...', ...]) in Template.php line 188
  5. at Template->fetch('/www/wwwroot/36.139....', ['setting' => ['telephone' => '0531-80876110', 'title' => '水发建设集团', 'author' => 'ZhangZhiwei', ...], 'static_path' => '/public/static/', 'common_path' => '/public/static/commo...', ...], []) in Think.php line 86
  6. at Think->fetch('', ['setting' => ['telephone' => '0531-80876110', 'title' => '水发建设集团', 'author' => 'ZhangZhiwei', ...], 'static_path' => '/public/static/', 'common_path' => '/public/static/commo...', ...], []) in View.php line 163
  7. at View->fetch('', [], [], []) in Controller.php line 120
  8. at Controller->fetch() in News.php line 15
  9. at News->item()
  10. at ReflectionMethod->invokeArgs(object(News), []) in App.php line 343
  11. at App::invokeMethod([object(News), 'item'], []) in App.php line 611
  12. at App::module([null, 'news', 'item'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 457
  13. at App::exec(['type' => 'module', 'module' => [null, 'news', 'item'], '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('/www/wwwroot/36.139....') in index.php line 14

Environment Variables

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

Server/Request Data

USER
www
HOME
/home/www
FCGI_ROLE
RESPONDER
SCRIPT_FILENAME
/www/wwwroot/36.139.126.69/index.php
QUERY_STRING
s=/news/tongzhigonggao/777.html
REQUEST_METHOD
GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME
/index.php
REQUEST_URI
/news/tongzhigonggao/777.html
DOCUMENT_URI
/index.php
DOCUMENT_ROOT
/www/wwwroot/36.139.126.69
SERVER_PROTOCOL
HTTP/1.1
REQUEST_SCHEME
http
GATEWAY_INTERFACE
CGI/1.1
SERVER_SOFTWARE
nginx/1.22.1
REMOTE_ADDR
3.237.44.242
REMOTE_PORT
44258
SERVER_ADDR
192.168.0.4
SERVER_PORT
80
SERVER_NAME
36.139.126.69
REDIRECT_STATUS
200
PATH_INFO
/news/tongzhigonggao/777.html
HTTP_ACCEPT
*/*
HTTP_USER_AGENT
claudebot
HTTP_HOST
sfjsgroup.com
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1711709341.6046
REQUEST_TIME
1711709341
Environment Variables
empty

ThinkPHP Constants

APP_DEBUG
true
IS_PUBLIC
false
ROOT_PATH
/www/wwwroot/36.139.126.69/
PUBLIC_NAME
public
APP_PATH
/www/wwwroot/36.139.126.69/application/
WEJOY_PATH
/www/wwwroot/36.139.126.69/zhmx/
EXTEND_PATH
/www/wwwroot/36.139.126.69/zhmx/extend/
VENDOR_PATH
/www/wwwroot/36.139.126.69/zhmx/vendor/
THINK_VERSION
5.0.24
THINK_START_TIME
1711709341.6051
THINK_START_MEM
291520
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/36.139.126.69/zhmx/thinkphp/
LIB_PATH
/www/wwwroot/36.139.126.69/zhmx/thinkphp/library/
CORE_PATH
/www/wwwroot/36.139.126.69/zhmx/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/36.139.126.69/zhmx/thinkphp/library/traits/
RUNTIME_PATH
/www/wwwroot/36.139.126.69/runtime/
LOG_PATH
/www/wwwroot/36.139.126.69/runtime/log/
CACHE_PATH
/www/wwwroot/36.139.126.69/runtime/cache/
TEMP_PATH
/www/wwwroot/36.139.126.69/runtime/temp/
CONF_PATH
/www/wwwroot/36.139.126.69/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false