404 Not Found


系统发生错误

[8] ErrorException in Brand.php line 148

未定义数组索引: label

  1. $data=Db::name('article_brand_news')->where($where)->find();
  2. if(!$this->user){
  3. $html="<br/><br/><div style='text-align: center;'> <a href='/index/index/login.html'><img src='/Uploads/1.png' /></a></div>";
  4. $data['text']=$data['info'].$html;
  5. // dump($data);die;
  6. }
  7. Db::name('article_brand_news')->where('id',$id)->setInc('onclick');
  8. $label=json_decode($data['label'],true);
  9. unset($where3);
  10. $where3[]=array('id','in',$label);//大栏目id
  11. $data['labelarr']=Db::name('article_domain')->field('title')->where($where3)->order('sort desc,id desc')->select();
  12. $this->assign('data',$data);
  13. $this->assign('id',$data['cat_id']);
  14. $pinglunshu=Db::name('article_mp4_comment c')->join('article_vip v','v.id=c.vid')->field('c.*,v.name')->where('c.mid',$id)->where('c.type',1)->count();
  15. $pinglun=$this->pinglun_data($id,0);

Call Stack

  1. in Brand.php line 148
  2. at Error::appError(8, 'Undefined index: lab...', '/yapot/projects/fuch...', 148, ['id' => '10438', 'where' => [['id', 'eq', '10438'], ['status', 'eq', 1]], 'data' => ['text' => '<br/><br/><div style...']]) in Brand.php line 148
  3. at Brand->details()
  4. at ReflectionMethod->invokeArgs(object(Brand), []) in Container.php line 395
  5. at Container->invokeReflectMethod(object(Brand), object(ReflectionMethod), ['id' => '10438']) in Module.php line 131
  6. at Module->think\route\dispatch\{closure}(object(Request), object(Closure), null)
  7. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  8. at Middleware->think\{closure}(object(Request))
  9. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  10. at Middleware->dispatch(object(Request), 'controller') in Module.php line 136
  11. at Module->exec() in Dispatch.php line 168
  12. at Dispatch->run() in App.php line 432
  13. at App->think\{closure}(object(Request), object(Closure), null)
  14. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  15. at Middleware->think\{closure}(object(Request))
  16. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  17. at Middleware->dispatch(object(Request)) in App.php line 435
  18. at App->run() in index.php line 21

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
HTTP_HOST www.obgy.cn
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME www.obgy.cn
SERVER_PORT 443
SERVER_ADDR 10.20.18.110
REMOTE_PORT 44116
REMOTE_ADDR 3.234.177.119
SERVER_SOFTWARE nginx/1.21.4
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/2.0
DOCUMENT_ROOT /yapot/projects/fuchan/public
DOCUMENT_URI /index.php
REQUEST_URI /index/brand/details/id/10438.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/index/brand/details/id/10438.html
SCRIPT_FILENAME /yapot/projects/fuchan/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711617989.2829
REQUEST_TIME 1711617989
Environment Variablesempty
ThinkPHP Constants
FILTER_VALIDATE_BOOL 258