p333金沙贵宾会(股份)有限公司-Official website

[8] ErrorException in Content.php line 62

Trying to access array offset on value of type null

  1. $cateid=input('param.cateid',0);
  2. $id=input('param.id',0);
  3. if(!$cateid){
  4. $cateid = CategoryModel::getCateidByUrl($cateurl);
  5. }
  6. if(!$cateid){$this->redirect('/');}
  7. $findCate = CategoryModel::getCategoryById($cateid);
  8. $pid=CategoryModel::getTopPid($findCate['id']);//获取顶级分类
  9. if($findCate['pid']){
  10. $parentCate = CategoryModel::getCategoryById($findCate['pid']);
  11. }
  12. if($findCate['type']==1){//单页内容
  13. $findCate = $this->hasChild($findCate);
  14. $lists = Db::name($this->db_page)->where(array('status'=>1,'cate_id'=>$findCate['id']))->orderRaw('CAST(sort as SIGNED) asc,create_time asc')->find();
  15. if($lists) $lists = NewsModel::dealLang($lists);
  16. $table = $this->db_page;

Call Stack

  1. in Content.php line 62
  2. at Error::appError() in Content.php line 62
  3. at Content->index()
  4. at ReflectionMethod->invokeArgs() in Container.php line 395
  5. at Container->invokeReflectMethod() in Module.php line 131
  6. at Module->think\route\dispatch\{closure}()
  7. at call_user_func_array() in Middleware.php line 185
  8. at Middleware->think\{closure}()
  9. at call_user_func() in Middleware.php line 130
  10. at Middleware->dispatch() 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}()
  14. at call_user_func_array() in Middleware.php line 185
  15. at Middleware->think\{closure}()
  16. at call_user_func() in Middleware.php line 130
  17. at Middleware->dispatch() in App.php line 435
  18. at App->run() in index.php line 22

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookies
PHPSESSID s3u42uho6u3mmo36740gg98l94
acw_tc 2760820217135961396817687ef0bf39c5b6c28faf745ce4e9aa82c4d348e7
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_X_SINFO on
HTTP_X5_UUID 0c3c5b80afdbdac5ea347605c396ab46
HTTP_X_TRUE_IP 170.130.206.2
HTTP_X_FORWARDED_PROTO https
HTTP_WL_PROXY_CLIENT_IP 170.130.206.2
HTTP_WEB_SERVER_TYPE nginx
HTTP_X_CLIENT_IP 170.130.206.2
HTTP_X_REAL_IP 170.130.206.2
HTTP_EAGLEEYE_RPCID 0.1
HTTP_COOKIE PHPSESSID=s3u42uho6u3mmo36740gg98l94; acw_tc=2760820217135961396817687ef0bf39c5b6c28faf745ce4e9aa82c4d348e7
HTTP_ACCEPT_ENCODING gzip
HTTP_ACCEPT */*
HTTP_EAGLEEYE_TRACEID 7b39758817135968862096502e1313
HTTP_X_FORWARDED_CLUSTER waf,
HTTP_X_FORWARDED_FOR 170.130.206.2
HTTP_USER_AGENT CCBot/2.0 (https://commoncrawl.org/faq/)
HTTP_HOST www.befar.com
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME www.befar.com
SERVER_PORT 443
SERVER_ADDR 192.168.254.2
REMOTE_PORT 29558
REMOTE_ADDR 123.57.117.136
SERVER_SOFTWARE nginx/1.22.1
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/cn/public
DOCUMENT_URI /index.php
REQUEST_URI /news/461.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/news/461.html
SCRIPT_FILENAME /www/wwwroot/cn/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1713596886.2397
REQUEST_TIME 1713596886
Environment Variablesempty
ThinkPHP Constants
TEMP_HTML_PATH ./html/
XML 地图