蜗牛扑克allne

[8] ErrorException in Keyword.phphtml line 35

未定义数组下标: 0

  1. $this->assign('keyword',$keyword);
  2. // 获取所在领域
  3. $info = YhTags::with(['getZone'=>['getAllCat'=>function($query)use($keyword){
  4. $query->join('yh_tags tag','tag.yh_tag_cateid = yh_cate_id')->where('tag.yh_tag_name',$keyword)->group('yh_cate_id');
  5. }]])->where('yh_tag_name',$keyword)->group('yh_tag_zoneid')->cache('getzonefromtagnameandcate'.$keyword,3600)->select()->toArray();
  6. // 获取对应领域分类
  7. $this->assign('info',$info);
  8. // 判断数据仓库数据页
  9. $page = $info[0]['yh_tag_ispage'];
  10. if($page){
  11. // 是数据页的标签
  12. $this->assign('type','数据页');
  13. // 条件排序
  14. $where = isset($param['where'])?$param['where']:'yh_page_created_at';
  15. // 数据页数据
  16. $dataList = YhPage::where(['yh_page_ischeck'=>1])->join('yh_data','yh_data.yh_data_id = yh_page.yh_page_dataid')->join('yh_tags tag','yh_page_tagid = tag.yh_tag_id')->where('tag.yh_tag_name',$keyword)->group('yh_page_id')->field('yh_page_id,yh_page_title,yh_page_memid,yh_page_clicknum,yh_page_collectnum,yh_page_supportnum,yh_page_created_at,yh_data_logo,yh_page_outline')->order($where,'desc')->cache(true)->paginate(7);

Call Stack

  1. in Keyword.phphtml line 35
  2. at Error::appError(8, 'Undefined offset: 0', '/www/wwwroot/www.yh5...', 35, ['request' =>object(Request), 'keyword' => '蜗牛', 'info' => []]) in Keyword.phphtml line 35
  3. at Keyword->pageView(object(Request))
  4. at ReflectionMethod->invokeArgs(object(Keyword), [object(Request)]) in Container.phphtml line 395
  5. at Container->invokeReflectMethod(object(Keyword), object(ReflectionMethod), ['keyword' => '蜗牛', 'convert' =>false]) in Module.phphtml line 132
  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.phphtml line 185
  8. at Middleware->think\{closure}(object(Request))
  9. at call_user_func(object(Closure), object(Request)) in Middleware.phphtml line 130
  10. at Middleware->dispatch(object(Request), 'controller') in Module.phphtml line 137
  11. at Module->exec() in Dispatch.phphtml line 168
  12. at Dispatch->run() in App.phphtml 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.phphtml line 185
  15. at Middleware->think\{closure}(object(Request))
  16. at call_user_func(object(Closure), object(Request)) in Middleware.phphtml line 130
  17. at Middleware->dispatch(object(Request)) in App.phphtml line 435
  18. at App->run() in index.phphtml line 19

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_EAGLEEYE_RPCID 0.1
HTTP_ACCEPT */*
HTTP_EAGLEEYE_TRACEID 2760774916068427786396964e0e32
HTTP_X_FORWARDED_CLUSTER waf,
HTTP_X_FORWARDED_PROTO http
HTTP_X_FORWARDED_FOR 172.120.114.119
HTTP_WL_PROXY_CLIENT_IP 172.120.114.119
HTTP_WEB_SERVER_TYPE nginx
HTTP_X_REAL_IP 172.120.114.119
HTTP_X_TRUE_IP 172.120.114.119
HTTP_USER_AGENT Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)
HTTP_HOST www.bdqfx.com
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME www.bdqfx.com
SERVER_PORT 80
SERVER_ADDR 172.26.193.191
REMOTE_PORT 29352
REMOTE_ADDR 39.96.119.73
SERVER_SOFTWARE nginx/1.19.0
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/www.bdqfx.com/public
DOCUMENT_URI /index.phphtml
REQUEST_URI /hotwords/%E8%9C%97%E7%89%9B
SCRIPT_NAME /index.phphtml
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/hotwords/%E8%9C%97%E7%89%9B
SCRIPT_FILENAME /www/wwwroot/www.bdqfx.com/public/index.phphtml
FCGI_ROLE RESPONDER
PHP_SELF /index.phphtml
REQUEST_TIME_FLOAT 1606842778.6495
REQUEST_TIME 1606842778
Environment Variablesempty
ThinkPHP Constantsempty
ThinkPHP V5.1.34 LTS { 十年磨一剑-为API开发设计的高性能框架 }
乐虎国际app安卓下载10bet体育移动版10bet体育移动版