[8] ErrorException in dadbb253a05805f092c71e0857a7893c.php line 55

Undefined variable: footerNav

  1. <link href="/static/cart/css/footer.css" rel="stylesheet" type="text/css">
  2. <style>
  3. footer .link>div a{display:inline-block}
  4. </style>
  5. <footer>
  6. <div class="col-md-6 col-lg-6 link left" style="width:100%">
  7. <div style="">
  8. <strong><?php echo lang('客户服务'); ?></strong>
  9. <!--<a class="link-item" href="/index/home/index?lang=<?php echo htmlentities($web_config['language']); ?>"><?php echo lang('商城首页'); ?></a>-->
  10. <?php if(is_array($footerNav) || $footerNav instanceof \think\Collection || $footerNav instanceof \think\Paginator): $ks = 0; $__LIST__ = $footerNav;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$footerNav): $mod = ($ks % 2 );++$ks;if(!empty($footerNav['title'])): ?>
  11. <a class="link-item" href="<?php echo url('/index/footer/details',['item' => $ks -1, 'language_id' => $languageId]); ?>"><?php echo htmlentities($footerNav['title']); ?></a>
  12. <?php endif; ?>
  13. <?php endforeach; endif; else: echo "" ;endif; ?>
  14. </div>
  15. </div>
  16. <div class="col-md-6 col-lg-6 link right" style="float: left;width: 100%;margin: 8px 0px;">
  17. <div style="margin-bottom: 0px">
  18. <strong><?php echo lang('联系我们'); ?></strong>
  19. <span><i class="fa fa-envelope" aria-hidden="true"></i> <a href="mailto:<?php echo htmlentities($footer_email); ?>?subject=your problem&body=content" target="_blank"><?php echo htmlentities($footer_email); ?></a></span>

Call Stack

  1. in dadbb253a05805f092c71e0857a7893c.php line 55
  2. at Error::appError(8, 'Undefined variable: ...', '/www/wwwroot/bebei.w...', 55, ['cacheFile' => '/www/wwwroot/bebei.w...', 'vars' => ['category_list' => [], 'web_config' => object(Config), 'admin_id' => 9, ...], 'category_list' => [], ...]) in dadbb253a05805f092c71e0857a7893c.php line 55
  3. at include('/www/wwwroot/bebei.w...') in File.php line 59
  4. at File->read('/www/wwwroot/bebei.w...', ['category_list' => [], 'web_config' => object(Config), 'admin_id' => 9, ...]) in Template.php line 226
  5. at Template->fetch('/www/wwwroot/bebei.w...', ['category_list' => [], 'web_config' => object(Config), 'admin_id' => 9, ...], []) in Think.php line 93
  6. at Think->fetch('/www/wwwroot/bebei.w...', ['category_list' => [], 'web_config' => object(Config), 'admin_id' => 9, ...], []) in View.php line 189
  7. at View->fetch('', ['category_list' => [], 'web_config' => object(Config), 'admin_id' => 9, ...], []) in Controller.php line 200
  8. at Controller->fetch('', ['item' => 2]) in Footer.php line 21
  9. at Footer->detail()
  10. at ReflectionMethod->invokeArgs(object(Footer), []) in Container.php line 395
  11. at Container->invokeReflectMethod(object(Footer), object(ReflectionMethod), ['item' => '2']) in Module.php line 132
  12. at Module->think\route\dispatch\{closure}(object(Request), object(Closure), null)
  13. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  14. at Middleware->think\{closure}(object(Request))
  15. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  16. at Middleware->dispatch(object(Request), 'controller') in Module.php line 137
  17. at Module->exec() in Dispatch.php line 168
  18. at Dispatch->run() in App.php line 432
  19. at App->think\{closure}(object(Request), object(Closure), null)
  20. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  21. at Middleware->think\{closure}(object(Request))
  22. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  23. at Middleware->dispatch(object(Request)) in App.php line 435
  24. at App->run() in index.php line 21

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookies
think_var zh-cn
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
HTTP_HOST kukuco.website
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME bebei.website
SERVER_PORT 443
SERVER_ADDR 104.160.19.242
REMOTE_PORT 44374
REMOTE_ADDR 54.224.90.25
SERVER_SOFTWARE nginx/1.20.2
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/2.0
DOCUMENT_ROOT /www/wwwroot/bebei.website/public
DOCUMENT_URI /index.php
REQUEST_URI /index/footer/detail/item/2.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=//index/footer/detail/item/2.html
SCRIPT_FILENAME /www/wwwroot/bebei.website/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711646892.098
REQUEST_TIME 1711646892
Environment Variablesempty
ThinkPHP Constantsempty