3559.cσm新濠新天地(澳门)有限公司-登录GREEN LIFE

[8] ErrorException in ArticleCate.php line 343

未定义数组索引: pid

  1. $detail['url'] = '/pages/';
  2. }
  3. if($detail['url'] && isHeaderHttp($detail['url'])){//外链
  4. $detail['url'] = $detail['url'];
  5. }else{//站内链接
  6. if($detail['url'] && !preg_match('/^\//',$detail['url'])){
  7. $detail['url'] = '/'.$detail['url'];
  8. }
  9. $pidInfo = Db::name(self::dbTable())->where(['id'=>$detail['pid']])->field('id,title,url')->find();
  10. if(!$pidInfo){
  11. $pidInfo = $detail;
  12. }
  13. $pid = $pidInfo['id'];
  14. if ( $curUrl==$pidInfo['url'] && !in_array($curUrl,self::specUrlArr())){
  15. if($pid==0 && $detail['url']!='/pages/'){
  16. $detail['url'] = $detail['url'];

Call Stack

  1. in ArticleCate.php line 343
  2. at Error::appError(8, 'Undefined index: pid', '/www/wwwroot/www.scs...', 343, ['detail' => ['url' => '/pages/'], 'curUrl' => null]) in ArticleCate.php line 343
  3. at ArticleCate::dealLang(['url' => '/pages/']) in Article.php line 213
  4. at Article::deallang(null) in Content.php line 281
  5. at Content->index()
  6. at ReflectionMethod->invokeArgs(object(Content), []) in Container.php line 395
  7. at Container->invokeReflectMethod(object(Content), object(ReflectionMethod), ['cateid' => '12', 'id' => 'contact', 'convert' => false]) in Module.php line 131
  8. at Module->think\route\dispatch\{closure}(object(Request), object(Closure), null)
  9. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  10. at Middleware->think\{closure}(object(Request))
  11. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  12. at Middleware->dispatch(object(Request), 'controller') in Module.php line 136
  13. at Module->exec() in Dispatch.php line 168
  14. at Dispatch->run() in App.php line 432
  15. at App->think\{closure}(object(Request), object(Closure), null)
  16. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  17. at Middleware->think\{closure}(object(Request))
  18. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  19. at Middleware->dispatch(object(Request)) in App.php line 435
  20. at App->run() in index.php line 22

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookies
PHPSESSID u49533fk5u66lj9bllav2hdjne
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_COOKIE PHPSESSID=u49533fk5u66lj9bllav2hdjne
HTTP_ACCEPT_ENCODING gzip
HTTP_ACCEPT */*
HTTP_HOST www.scsunland.com
HTTP_USER_AGENT CCBot/2.0 (https://commoncrawl.org/faq/)
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME www.scsunland.com
SERVER_PORT 443
SERVER_ADDR 172.28.23.201
REMOTE_PORT 52832
REMOTE_ADDR 23.231.76.202
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/www.scsunland.com/public
DOCUMENT_URI /index.php
REQUEST_URI //cases/12/contact.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/cases/12/contact.html
SCRIPT_FILENAME /www/wwwroot/www.scsunland.com/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1721635626.3184
REQUEST_TIME 1721635626
Environment Variablesempty
ThinkPHP Constants
TEMP_HTML_PATH ./html/
XML 地图