Undefined index: tagid
发生错误文件: /www/wwwroot/nk666.xyz/Tmp/View_user_index_68a4628e82e1faa60a6a26be47b476c3.php
出错行数: 563
出现错误的文件为编译缓存文件.你修正它是无效的.你需要找到他的源文件进行修复!
出现错误的地方
行数 代码内容
559: <div>年龄<span style="margin-left:5px;color:#333"><?php $age = date('Y')-date('Y',$data['age']) ?><?php if ($age!=0): ?><?php echo $age;?><?php endif ?></span></div>
560: <div>标签<span style="margin-left:5px;color:#333">
561: <?php
562: $xuanze = S('user_tag')->select('*',[
563: 'tag_id' => array_filter(explode(",",$data['tagid'])),
564: 'ORDER' => ['tag_id'=>array_filter(explode(",",$data['tagid']))]
565: ]);
566: ?>
567: <?php foreach ($xuanze as $k=>$v): ?>
568: <em class="shanchu" style="color:<?php echo $v['color'];?>"><?php echo $v['name'];?></em>
返回跟踪
文件 行 函数 信息
/www/wwwroot/nk666.xyz/Tmp/View_user_index_68a4628e82e1faa60a6a26be47b476c3.php 563 Lib\HY::hy_error(8, 'Undefined index: tagid', '/www/wwwroot/nk666.xyz/Tmp/View_user_index_68a4628e82e1faa60a6a26be47b476c3.php', 563, Arrary) 8, 'Undefined index: tagid', '/www/wwwroot/nk666.xyz/Tmp/View_user_index_68a4628e82e1faa60a6a26be47b476c3.php', 563, Arrary
/www/wwwroot/nk666.xyz/HY/Action.php 105 '/www/wwwroot/nk666.xyz/Tmp/View_user_index_68a4628e82e1faa60a6a26be47b476c3.php'
/www/wwwroot/nk666.xyz/HY/Action.php 113 HY\Action->GetHtml('user_index', ) 'user_index',
/www/wwwroot/nk666.xyz/Tmp/My_c4a787da83962c208f51b3159bc8e9d8.php 125 HY\Action->display('user_index') 'user_index'
Action\My->_no()
/www/wwwroot/nk666.xyz/HY/Lib/Line.php 115 ReflectionMethod->invoke(Object) Object
/www/wwwroot/nk666.xyz/HY/Lib/HY.php 41 HY\Lib\Line::run()
/www/wwwroot/nk666.xyz/HY/HYPHP.php 97 Lib\HY::init()
/www/wwwroot/nk666.xyz/index.php 14 '/www/wwwroot/nk666.xyz/HY/HYPHP.php'
运行信息
URL: /?u/%E4%B8%BA%E6%83%85%E6%89%80%E5%9B%B0.html