[8] ErrorException in efc81916e467436c5016c7a2ebd9aea4.php line 70

未定义数组索引: phone

  1. <div class="container">
  2. <div class="navbar-header">
  3. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar-menu">
  4. <i class="fa fa-bars"></i>
  5. </button>
  6. <a class="navbar-brand logo flexBox" href="/"><span><img src="/public/static/index/imgs/logo.png"></span></a>
  7. </div>
  8. <div class="navRig">
  9. <div class="collapse navbar-collapse" id="navbar-menu">
  10. <div class="navTel">咨询热线:<?php echo htmlentities($base['extends']['phone']); ?></div>
  11. <ul class="nav navbar-nav" data-in="fadeIn" data-out="fadeOut">
  12. <li class="<?php if($topid==0): ?>active<?php endif; ?>"><a href="/">首页</a></li>
  13. <?php $_result=get_category(0);if(is_array($_result) || $_result instanceof \think\Collection || $_result instanceof \think\Paginator): $i = 0; $__LIST__ = $_result;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$val): $mod = ($i % 2 );++$i;?>
  14. <li class="dropdown <?php if($topid==$val['id']): ?>active<?php endif; ?>">
  15. <a href="<?php echo htmlentities($val['url']); ?>" class="dropdown-toggle" data-toggle="dropdown"><?php echo htmlentities($val['title']); ?></a>
  16. <ul class="dropdown-menu">
  17. <?php $_result=get_category($val['id']);if(is_array($_result) || $_result instanceof \think\Collection || $_result instanceof \think\Paginator): $i = 0; $__LIST__ = $_result;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$x): $mod = ($i % 2 );++$i;?>
  18. <li><a href="<?php echo htmlentities($x['url']); ?>"><?php echo htmlentities($x['title']); ?></a></li>
  19. <?php endforeach; endif; else: echo "" ;endif; ?>

Call Stack

  1. in efc81916e467436c5016c7a2ebd9aea4.php line 70
  2. at Error::appError(8, 'Undefined index: pho...', '/data/user/htdocs/ru...', 70, ['cacheFile' => '/data/user/htdocs/ru...', 'vars' => ['CATEGORYS' => [['id' => 4, 'fid' => 0, 'title' => '问答', ...], ['id' => 15, 'fid' => 6, 'title' => '岗位', ...], ['id' => 16, 'fid' => 0, 'title' => '联系我们', ...], ...], 'code' => 0, 'msg' => '信息不存在', ...], 'CATEGORYS' => [['id' => 4, 'fid' => 0, 'title' => '问答', ...], ['id' => 15, 'fid' => 6, 'title' => '岗位', ...], ['id' => 16, 'fid' => 0, 'title' => '联系我们', ...], ...], ...]) in efc81916e467436c5016c7a2ebd9aea4.php line 70
  3. at include('/data/user/htdocs/ru...') in File.php line 59
  4. at File->read('/data/user/htdocs/ru...', ['CATEGORYS' => [['id' => 4, 'fid' => 0, 'title' => '问答', ...], ['id' => 15, 'fid' => 6, 'title' => '岗位', ...], ['id' => 16, 'fid' => 0, 'title' => '联系我们', ...], ...], 'code' => 0, 'msg' => '信息不存在', ...]) in Template.php line 226
  5. at Template->fetch('/data/user/htdocs/th...', ['CATEGORYS' => [['id' => 4, 'fid' => 0, 'title' => '问答', ...], ['id' => 15, 'fid' => 6, 'title' => '岗位', ...], ['id' => 16, 'fid' => 0, 'title' => '联系我们', ...], ...], 'code' => 0, 'msg' => '信息不存在', ...], []) in Think.php line 93
  6. at Think->fetch('/data/user/htdocs/th...', ['CATEGORYS' => [['id' => 4, 'fid' => 0, 'title' => '问答', ...], ['id' => 15, 'fid' => 6, 'title' => '岗位', ...], ['id' => 16, 'fid' => 0, 'title' => '联系我们', ...], ...], 'code' => 0, 'msg' => '信息不存在', ...], []) in View.php line 189
  7. at View->fetch('/data/user/htdocs/th...', ['CATEGORYS' => [['id' => 4, 'fid' => 0, 'title' => '问答', ...], ['id' => 15, 'fid' => 6, 'title' => '岗位', ...], ['id' => 16, 'fid' => 0, 'title' => '联系我们', ...], ...], 'code' => 0, 'msg' => '信息不存在', ...]) in Jump.php line 29
  8. at Jump->output(['code' => 0, 'msg' => '信息不存在', 'data' => '', ...]) in Response.php line 396
  9. at Response->getContent() in Response.php line 128
  10. at Response->send() in index.php line 21

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER nobody
HOME /
HTTP_HOST www.netconst.cn
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
REDIRECT_STATUS 200
SERVER_NAME wh-nac6uejjkugpu9pq10l.my3w.com
SERVER_PORT 80
SERVER_ADDR 10.29.64.153
REMOTE_PORT 56786
REMOTE_ADDR 34.230.84.106
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//news/682.html
REQUEST_URI /news/682.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING
PATH_INFO //news/682.html
SCRIPT_FILENAME /data/user/htdocs/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php//news/682.html
REQUEST_TIME_FLOAT 1710838711.1857
REQUEST_TIME 1710838711
Environment Variablesempty
ThinkPHP Constantsempty