太阳成(122cc-认证集团)官方网站-Macau App Station

#0 [8]ErrorException in Index.php line 174

Trying to access array offset on value of type bool

  1. $cateInfo = (new Category)->getCateInfo($info['category_id']);
  2. }
  3. Db::name('archives')->where(['id'=>$info['id']])->inc('views')->update();
  4. $this->view->assign('Cate', $cateInfo);
  5. $this->view->assign('Info', $info);
  6. // seo 模型固定的默认字段 keywords description
  7. $seo_title = empty($info['seotitle'])?$info['title']:$info['seotitle'];
  8. $seo_title = str_replace(['$title','$name','$site'], [$seo_title,$cateInfo['title'],site("title")], site('content_format'));
  9. $this->view->assign('seo_title', $seo_title);
  10. $this->view->assign('seo_keywords', isset($info['keywords'])?$info['keywords']:$cateInfo['seo_keywords']);
  11. $this->view->assign('seo_desc', isset($info['description'])?$info['description']:$cateInfo['seo_desc']);
  12. $template = explode(".", $info['show_tpl'], 2);
  13. return $this->view->fetch('show/'.$template[0]);
  14. }
  15. /**

Call Stack

  1. in Index.php line 174
  2. at Error->appError() in Index.php line 174
  3. at Index->show()
  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 Pipeline.php line 66
  13. at Pipeline->then() in Route.php line 794
  14. at Route->dispatch() in Http.php line 216
  15. at Http->dispatchToRoute() in Http.php line 206
  16. at Http->think\{closure}() in Pipeline.php line 59
  17. at Pipeline->think\{closure}() in MultiApp.php line 71
  18. at MultiApp->think\app\{closure}() in Pipeline.php line 59
  19. at Pipeline->think\{closure}() in LoadLangPack.php line 87
  20. at LoadLangPack->handle()
  21. at call_user_func() in Middleware.php line 142
  22. at Middleware->think\{closure}() in Pipeline.php line 85
  23. at Pipeline->think\{closure}() in Pipeline.php line 66
  24. at Pipeline->then() in MultiApp.php line 72
  25. at MultiApp->handle()
  26. at call_user_func() in Middleware.php line 142
  27. at Middleware->think\{closure}() in Pipeline.php line 85
  28. at Pipeline->think\{closure}() in SessionInit.php line 67
  29. at SessionInit->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 Pipeline.php line 66
  33. at Pipeline->then() in Http.php line 207
  34. at Http->runWithRequest() in Http.php line 170
  35. at Http->run() in index.php line 29

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookies
HKCMSSESSID 55b9ccc100314aad2a827d71f5850046
index_hkcms_lang zh-cn
old_index_hkcms_lang zh-cn
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_COOKIE HKCMSSESSID=55b9ccc100314aad2a827d71f5850046; index_hkcms_lang=zh-cn; old_index_hkcms_lang=zh-cn
HTTP_ACCEPT_ENCODING gzip
HTTP_ACCEPT */*
HTTP_HOST www.huayuan.com.cn
HTTP_USER_AGENT CCBot/2.0 (https://commoncrawl.org/faq/)
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME hyjt.z-product.com
SERVER_PORT 443
SERVER_ADDR 192.168.0.9
REMOTE_PORT 58900
REMOTE_ADDR 23.90.23.202
SERVER_SOFTWARE nginx/1.24.0
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/hyjt/public
DOCUMENT_URI /index.php
REQUEST_URI /news/47.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/news/47.html
SCRIPT_FILENAME /www/wwwroot/hyjt/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1747630616.7841
REQUEST_TIME 1747630616
Baidu
sogou