威尼斯欢乐娱人(v675·China认证)官网-Best App Store

[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/lcywhx....', 343, ['detail' => ['url' => '/pages/'], 'curUrl' => null]) in ArticleCate.php line 343
  3. at ArticleCate::dealLang(['url' => '/pages/']) in Article.php line 209
  4. at Article::deallang(null) in Content.php line 292
  5. at Content->index()
  6. at ReflectionMethod->invokeArgs(object(Content), []) in Container.php line 395
  7. at Container->invokeReflectMethod(object(Content), object(ReflectionMethod), ['cateid' => '10', 'id' => 'index', '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 12

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookies
PHPSESSID c28v745ab4j277h7opcvmch3m0
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_COOKIE PHPSESSID=c28v745ab4j277h7opcvmch3m0
HTTP_ACCEPT_ENCODING gzip
HTTP_ACCEPT */*
HTTP_HOST www.lcywhx.com
HTTP_USER_AGENT Mozilla/5.0 (compatible; MJ12bot/v1.4.8; http://mj12bot.com/)
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME lcywhx.com
SERVER_PORT 80
SERVER_ADDR 172.17.80.68
REMOTE_PORT 57392
REMOTE_ADDR 104.206.98.186
SERVER_SOFTWARE nginx/1.20.2
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/lcywhx.com
DOCUMENT_URI /index.php
REQUEST_URI /news/10/index.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/news/10/index.html
SCRIPT_FILENAME /www/wwwroot/lcywhx.com/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1706466156.771
REQUEST_TIME 1706466156
Environment Variablesempty
ThinkPHP Constants
APP_PATH /www/wwwroot/lcywhx.com/application/