[8] ErrorException in 589ecaa3eb317bbed063d021d6ead68b.php line 140

未定义变量: bannerlist

  1. </header>
  2. <div class="container" id="content-container">
  3. <div class="row">
  4. <main class="col-md-8">
  5. <div style="margin-bottom: 30px;">
  6. <div id="news-focus" class="carousel slide carousel-focus" data-ride="carousel">
  7. <div class="carousel-inner" role="listbox">
  8. <?php if(is_array($bannerlist) || $bannerlist instanceof \think\Collection || $bannerlist instanceof \think\Paginator): $i = 0; $__LIST__ = $bannerlist;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
  9. <div class="item <?php if($i==1): ?>active<?php endif; ?>">
  10. <a href="<?php echo $vo['url']; ?>">
  11. <div class="carousel-img" style="background-image:url('<?php echo $vo['image']; ?>');"></div>
  12. <div class="carousel-caption hidden-xs">
  13. <h3><?php echo $vo['title']; ?></h3>
  14. </div>
  15. </a>
  16. </div>
  17. <?php endforeach; endif; else: echo "" ;endif; ?>

Call Stack

  1. in 589ecaa3eb317bbed063d021d6ead68b.php line 140
  2. at Error::appError(8, 'Undefined variable: ...', '/www/wwwroot/www.han...', 140, ['cacheFile' => '/www/wwwroot/www.han...', 'vars' => ['config' => ['system_user_id' => '1', 'sitename' => '行讯宝', 'title' => '...', ...], 'user' => null, 'site' => ['name' => '行讯宝', 'beian' => '桂ICP备19009216号...', 'cdnurl' => '', ...], ...], 'config' => ['system_user_id' => '1', 'sitename' => '行讯宝', 'title' => '...', ...], ...]) in 589ecaa3eb317bbed063d021d6ead68b.php line 140
  3. at include('/www/wwwroot/www.han...') in File.php line 53
  4. at File->read('/www/wwwroot/www.han...', ['config' => ['system_user_id' => '1', 'sitename' => '行讯宝', 'title' => '...', ...], 'user' => null, 'site' => ['name' => '行讯宝', 'beian' => '桂ICP备19009216号...', 'cdnurl' => '', ...], ...]) in Template.php line 188
  5. at Template->fetch('/www/wwwroot/www.han...', ['config' => ['system_user_id' => '1', 'sitename' => '行讯宝', 'title' => '...', ...], 'user' => null, 'site' => ['name' => '行讯宝', 'beian' => '桂ICP备19009216号...', 'cdnurl' => '', ...], ...], []) in Think.php line 86
  6. at Think->fetch('/www/wwwroot/www.han...', ['config' => ['system_user_id' => '1', 'sitename' => '行讯宝', 'title' => '...', ...], 'user' => null, 'site' => ['name' => '行讯宝', 'beian' => '桂ICP备19009216号...', 'cdnurl' => '', ...], ...], []) in View.php line 163
  7. at View->fetch('/recommend') in Area.php line 31
  8. at Area->index()
  9. at call_user_func_array([object(Area), 'index'], []) in Route.php line 76
  10. at Route->execute('cms', 'area', 'index')
  11. at ReflectionMethod->invokeArgs(object(Route), ['cms', 'area', null]) in App.php line 343
  12. at App::invokeMethod(['\think\addons\Route', 'execute'], ['city' => '杭州', 'addon' => 'cms', 'controller' => 'area', ...]) in App.php line 470
  13. at App::exec(['type' => 'method', 'method' => ['\think\addons\Route', 'execute'], 'var' => []], ['app_host' => '', 'app_debug' => '1', 'app_trace' => '', ...]) in App.php line 139
  14. at App::run() in start.php line 19
  15. at require('/www/wwwroot/www.han...') in index.php line 72

Environment Variables

GET Data

city
杭州
POST Data
empty
Files
empty

Cookies

city
杭州
Session
empty

Server/Request Data

USER
www
HOME
/home/www
HTTP_USER_AGENT
claudebot
HTTP_ACCEPT
*/*
HTTP_HOST
hangxunbao.com
PATH_INFO
//addons/cms/area
REDIRECT_STATUS
200
SERVER_NAME
www.hangxunbao.com
SERVER_PORT
443
SERVER_ADDR
192.168.0.122
REMOTE_PORT
55882
REMOTE_ADDR
34.237.245.80
SERVER_SOFTWARE
nginx/1.18.0
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
REQUEST_SCHEME
https
SERVER_PROTOCOL
HTTP/2.0
DOCUMENT_ROOT
/www/wwwroot/www.hangxunbao.com/hangxunbao/public
DOCUMENT_URI
/index.php
REQUEST_URI
/addons/cms/area?city=%E6%9D%AD%E5%B7%9E
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=//addons/cms/area&city=%E6%9D%AD%E5%B7%9E
SCRIPT_FILENAME
/www/wwwroot/www.hangxunbao.com/hangxunbao/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1710845774.3885
REQUEST_TIME
1710845774
Environment Variables
empty

ThinkPHP Constants

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