尼斯人app官网下载(中国)股份有限公司

#0 [8]ErrorException in News.php line 198

未定义数组索引: title_seo

  1. }
  2. public function details(){
  3. $dd = Request()->get('dd');
  4. if(is_numeric($dd) && !empty($dd))
  5. {
  6. $new_model = new BocNews();
  7. $list = $new_model->get_one($dd);
  8. $this->seo['title'] =$list['title_seo']?$list['title_seo']:$list['title'];
  9. $this->seo['description'] =$list['description'];
  10. $this->seo['keywords'] = $list['keywords'];
  11. Db::table("boc_news")->where(['id'=>$dd])->Inc('click_num',1)->update();
  12. $this->assign('list',$list);
  13. $page = $new_model->Page_news($dd,$list['ctype']);
  14. $this->assign('page',$page);
  15. $rand_list = $new_model->field("id,title")->where(['is_deleted'=>0,'status'=>1,'audit'=>0,'ctype'=>$list['ctype']])->limit(4)->orderRand()->select()->toArray();

Call Stack

  1. in News.php line 198
  2. at Error->appError() in News.php line 198
  3. at News->details()
  4. at ReflectionMethod->invokeArgs() in Container.php line 344
  5. at Container->invokeReflectMethod() in Controller.php line 110
  6. at Controller->think\route\dispatch\{closure}() in Pipeline.php line 59
  7. at Pipeline->think\{closure}() in Pipeline.php line 66
  8. at Pipeline->then() in Controller.php line 113
  9. at Controller->exec() in Dispatch.php line 80
  10. at Dispatch->run() in Route.php line 793
  11. at Route->think\{closure}() in Pipeline.php line 59
  12. at Pipeline->think\{closure}() in RbacAccess.php line 87
  13. at RbacAccess->handle()
  14. at call_user_func() in Middleware.php line 142
  15. at Middleware->think\{closure}() in Pipeline.php line 85
  16. at Pipeline->think\{closure}() in Pipeline.php line 66
  17. at Pipeline->then() in Route.php line 794
  18. at Route->dispatch() in Http.php line 216
  19. at Http->dispatchToRoute() in Http.php line 206
  20. at Http->think\{closure}() in Pipeline.php line 59
  21. at Pipeline->think\{closure}() in MultAccess.php line 75
  22. at MultAccess->think\admin\support\middleware\{closure}() in Pipeline.php line 59
  23. at Pipeline->think\{closure}() in SessionInit.php line 67
  24. at SessionInit->handle()
  25. at call_user_func() in Middleware.php line 142
  26. at Middleware->think\{closure}() in Pipeline.php line 85
  27. at Pipeline->think\{closure}() in Pipeline.php line 66
  28. at Pipeline->then() in MultAccess.php line 76
  29. at MultAccess->handle()
  30. at call_user_func() in Middleware.php line 142
  31. at Middleware->think\{closure}() in Pipeline.php line 85
  32. at Pipeline->think\{closure}() in LoadLangPack.php line 57
  33. at LoadLangPack->handle()
  34. at call_user_func() in Middleware.php line 142
  35. at Middleware->think\{closure}() in Pipeline.php line 85
  36. at Pipeline->think\{closure}() in JwtSession.php line 117
  37. at JwtSession->handle()
  38. at call_user_func() in Middleware.php line 142
  39. at Middleware->think\{closure}() in Pipeline.php line 85
  40. at Pipeline->think\{closure}() in Pipeline.php line 66
  41. at Pipeline->then() in Http.php line 207
  42. at Http->runWithRequest() in Http.php line 170
  43. at Http->run() in RuntimeService.php line 209
  44. at RuntimeService::doWebsiteInit() in index.php line 23

Environment Variables

GET Data
dd 1115
POST Dataempty
Filesempty
Cookies
sl-session nEZaKZgBs2npL0qNl5hW9w==
lang zh-cn
ssid 41ae477fffb36abd98d2a56d55c6f87c
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_COOKIE sl-session=nEZaKZgBs2npL0qNl5hW9w==; lang=zh-cn; ssid=41ae477fffb36abd98d2a56d55c6f87c
HTTP_ACCEPT_ENCODING gzip
HTTP_ACCEPT */*
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_X_FORWARDED_FOR 23.231.76.82
HTTP_X_FORWARDED_PROTO https
HTTP_X_FORWARDED_HOST www.kingenta.com
HTTP_HOST www.kingenta.com
PATH_INFO //index/news/details.aspx
REDIRECT_STATUS 200
SERVER_NAME www.kingenta.com
SERVER_PORT 80
SERVER_ADDR 10.25.2.51
REMOTE_PORT 48656
REMOTE_ADDR 10.10.13.51
SERVER_SOFTWARE nginx/1.22.1
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/jzd/public
DOCUMENT_URI /index.php//index/news/details.aspx
REQUEST_URI /index/news/details.aspx?dd=1115
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING dd=1115
SCRIPT_FILENAME /www/wwwroot/jzd/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php//index/news/details.aspx
REQUEST_TIME_FLOAT 1773253673.7302
REQUEST_TIME 1773253673
Baidu
sogou