未定義數組索引: tags

  1. <p><i class="iconfont icon-zuozhe"></i><?php echo $content['writer']; ?></p>
  2. <p><i class="iconfont icon-shijian2"></i><?php echo date("Y-m-d h:i:s",$content['update_time']); ?></p>
  3. <p><i class="iconfont icon-chakan6"></i><?php echo $content['click']; ?></p>
  4. </div>
  5. <div class="arcbody">
  6. <?php echo $content['body']; ?>
  7. </div>
  8. <ul class="taglist">
  9. <li class="tag">TAG:</li>
  10. <?php if($content['tags']): if(is_array($content['tags']) || $content['tags'] instanceof \think\Collection || $content['tags'] instanceof \think\Paginator): $i = 0; $__LIST__ = $content['tags'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
  11. <li><?php echo $vo; ?></li>
  12. <?php endforeach; endif; else: echo "" ;endif; endif; ?>
  13. </ul>
  14. <div class="nextprev">
  15. <a href="<?php echo $content['prevurl']; ?>">上一篇:<?php echo $content['prevtitle']; ?></a>
  16. <a href="<?php echo $content['nexturl']; ?>">下一篇:<?php echo $content['nexttitle']; ?></a>
  17. </div>
  18. </div>
  19. </div>

Call Stack

  1. in ec1ca5243170b2338461cfd73bb76342.php line 121
  2. at Error::appError(8, 'Undefined index: tag...', '/www/wwwroot/www.f77...', 121, ['cacheFile' => '/www/wwwroot/www.f77...', 'vars' => ['cateRes' => [['id' => 20, 'cname' => '關于我們', 'ename' => 'About', ...], ['id' => 21, 'cname' => '網站建設', 'ename' => 'Website', ...], ['id' => 83, 'cname' => '網站優化', 'ename' => 'Seo', ...], ...], 'bottomCate' => [], 'config' => ['webname' => '溫州市鹿城區璟協網絡技術工作室', 'login_url' => 'login12.php', 'logo' => '', ...], ...], 'cateRes' => [['id' => 20, 'cname' => '關于我們', 'ename' => 'About', ...], ['id' => 21, 'cname' => '網站建設', 'ename' => 'Website', ...], ['id' => 83, 'cname' => '網站優化', 'ename' => 'Seo', ...], ...], ...]) in ec1ca5243170b2338461cfd73bb76342.php line 121
  3. at include('/www/wwwroot/www.f77...') in File.php line 53
  4. at File->read('/www/wwwroot/www.f77...', ['cateRes' => [['id' => 20, 'cname' => '關于我們', 'ename' => 'About', ...], ['id' => 21, 'cname' => '網站建設', 'ename' => 'Website', ...], ['id' => 83, 'cname' => '網站優化', 'ename' => 'Seo', ...], ...], 'bottomCate' => [], 'config' => ['webname' => '溫州市鹿城區璟協網絡技術工作室', 'login_url' => 'login12.php', 'logo' => '', ...], ...]) in Template.php line 188
  5. at Template->fetch('/www/wwwroot/www.f77...', ['cateRes' => [['id' => 20, 'cname' => '關于我們', 'ename' => 'About', ...], ['id' => 21, 'cname' => '網站建設', 'ename' => 'Website', ...], ['id' => 83, 'cname' => '網站優化', 'ename' => 'Seo', ...], ...], 'bottomCate' => [], 'config' => ['webname' => '溫州市鹿城區璟協網絡技術工作室', 'login_url' => 'login12.php', 'logo' => '', ...], ...], []) in Think.php line 86
  6. at Think->fetch('/www/wwwroot/www.f77...', ['cateRes' => [['id' => 20, 'cname' => '關于我們', 'ename' => 'About', ...], ['id' => 21, 'cname' => '網站建設', 'ename' => 'Website', ...], ['id' => 83, 'cname' => '網站優化', 'ename' => 'Seo', ...], ...], 'bottomCate' => [], 'config' => ['webname' => '溫州市鹿城區璟協網絡技術工作室', 'login_url' => 'login12.php', 'logo' => '', ...], ...], []) in View.php line 163
  7. at View->fetch('/www/wwwroot/www.f77...', ['cateRes' => [['id' => 20, 'cname' => '關于我們', 'ename' => 'About', ...], ['id' => 21, 'cname' => '網站建設', 'ename' => 'Website', ...], ['id' => 83, 'cname' => '網站優化', 'ename' => 'Seo', ...], ...], 'bottomCate' => [], 'config' => ['webname' => '溫州市鹿城區璟協網絡技術工作室', 'login_url' => 'login12.php', 'logo' => '', ...], ...], ['__ROOT__' => '', '__URL__' => '/index/article', '__STATIC__' => '/static', ...]) in View.php line 36
  8. at View->output('/www/wwwroot/www.f77...') in Response.php line 309
  9. at Response->getContent() in Response.php line 94
  10. at Response->send() in start.php line 19
  11. at require('/www/wwwroot/www.f77...') in index.php line 19

Environment Variables

GET Data

dir
Case/Web
id
16637
POST Data
empty
Files
empty

Cookies

area
beijing
PHPSESSID
snn1cbvtvqupljr583vir5hqn9
location
未知地區

Session

think
{ "areaData": { "id": 110000, "title": "\u5317\u4eac", "stitle": "\u5317\u4eac", "etitle": "beijing", "pid": 0, "sort": 0, "isopen": 1, "istop": 0, "iscon": 1, "isurl": 1, "seo_title": "", "seo_keywords": "", "seo_description": "" } }

Server/Request Data

USER
www
HOME
/home/www
HTTP_COOKIE
area=beijing; PHPSESSID=snn1cbvtvqupljr583vir5hqn9; location=%E6%9C%AA%E7%9F%A5%E5%9C%B0%E5%8C%BA
HTTP_REFERER
https://www.f773.com/Case/Web/
HTTP_ACCEPT_LANGUAGE
zh-cn
HTTP_USER_AGENT
SiteSucker for macOS/2.10.4
HTTP_ACCEPT_ENCODING
gzip, deflate
HTTP_ACCEPT
text/html,*/*;q=0.8
HTTP_HOST
www.f773.com
PATH_INFO
index/article/index
REDIRECT_STATUS
200
SERVER_NAME
www.f773.com
SERVER_PORT
443
SERVER_ADDR
192.168.0.4
REMOTE_PORT
49699
REMOTE_ADDR
60.18.103.26
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/www.f773.com/public
DOCUMENT_URI
/index.php
REQUEST_URI
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=index/article/index&dir=Case/Web&id=16637
SCRIPT_FILENAME
/www/wwwroot/www.f773.com/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1667477627.6798
REQUEST_TIME
1667477627
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/wwwroot/www.f773.com/public/../application/
PUBLIC_PATH
/www/wwwroot/www.f773.com/public/../public/
APP_DEBUG
true
THINK_VERSION
5.0.24
THINK_START_TIME
1667477627.6803
THINK_START_MEM
409936
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/www.f773.com/thinkphp/
LIB_PATH
/www/wwwroot/www.f773.com/thinkphp/library/
CORE_PATH
/www/wwwroot/www.f773.com/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/www.f773.com/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/www.f773.com/
EXTEND_PATH
/www/wwwroot/www.f773.com/extend/
VENDOR_PATH
/www/wwwroot/www.f773.com/vendor/
RUNTIME_PATH
/www/wwwroot/www.f773.com/runtime/
LOG_PATH
/www/wwwroot/www.f773.com/runtime/log/
CACHE_PATH
/www/wwwroot/www.f773.com/runtime/cache/
TEMP_PATH
/www/wwwroot/www.f773.com/runtime/temp/
CONF_PATH
/www/wwwroot/www.f773.com/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
VIEW_PATH
/www/wwwroot/www.f773.com/application/../template/pc/