大红鹰(中国·VIP认证)官方网站-DHY Limited Company

[8] ErrorException in Article.php line 111

未定义变量: pcate

  1. $params['time_start'] = date("Y-m-d",$time['begin']);
  2. $params['time_end'] = date("Y-m-d",$time['end']);
  3. }
  4. $where = ArticleService::ArticleListWhere($params);
  5. // 获取总数
  6. $total = ArticleService::ArticleTotal($where);
  7. // 分页
  8. $params['page'] = input('page');
  9. //栏目树
  10. $catelist = ArticleService::ArticleCategoryAllbypid(['pid'=>$pcate['id']]);
  11. $this->assign('catelist', $catelist);
  12. $page_params = array(
  13. 'number' => $number,
  14. 'total' => $total,
  15. 'where' => $params,
  16. 'page' => isset($params['page']) ? intval($params['page']) : 1,
  17. // 'url' => "",
  18. );

Call Stack

  1. in Article.php line 111
  2. at Error::appError(8, 'Undefined variable: ...', '/www/wwwroot/www.shu...', 111, ['id' => '27', 'wherecate' => ['id' => 27, 'is_enable' => 1], 'catemodel' => object(Articlecategory), ...]) in Article.php line 111
  3. at Article->Index()
  4. at ReflectionMethod->invokeArgs(object(Article), []) in Container.php line 395
  5. at Container->invokeReflectMethod(object(Article), object(ReflectionMethod), ['id' => '27', 'convert' => false]) in Module.php line 143
  6. at Module->think\route\dispatch\{closure}(object(Request), object(Closure), null)
  7. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  8. at Middleware->think\{closure}(object(Request))
  9. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  10. at Middleware->dispatch(object(Request), 'controller') in Module.php line 148
  11. at Module->exec() in Dispatch.php line 168
  12. at Dispatch->run() in App.php line 423
  13. at App->think\{closure}(object(Request), object(Closure), null)
  14. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  15. at Middleware->think\{closure}(object(Request)) in SystemEnvCheck.php line 42
  16. at SystemEnvCheck->handle(object(Request), object(Closure), null)
  17. at call_user_func_array([object(SystemEnvCheck), 'handle'], [object(Request), object(Closure), null]) in Middleware.php line 185
  18. at Middleware->think\{closure}(object(Request))
  19. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  20. at Middleware->dispatch(object(Request)) in App.php line 425
  21. at App->run() in index.php line 52

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookies
guard c4179be3yZHx49
PHPSESSID 85fr1o3i2inamis8uogtgfe1ua
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_X_FORWARDED_FOR 104.140.79.34
HTTP_COOKIE guard=c4179be3yZHx49; PHPSESSID=85fr1o3i2inamis8uogtgfe1ua
HTTP_ACCEPT_ENCODING gzip
HTTP_ACCEPT */*
HTTP_HOST www.shuanghui.net
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME 36.133.45.192
SERVER_PORT 443
SERVER_ADDR 192.168.0.23
REMOTE_PORT 17739
REMOTE_ADDR 10.181.150.82
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.shuanghui.net/public
DOCUMENT_URI /index.php
REQUEST_URI /newslist-27.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/newslist-27.html
SCRIPT_FILENAME /www/wwwroot/www.shuanghui.net/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1729920382.7637
REQUEST_TIME 1729920382
Environment Variablesempty
ThinkPHP Constants
APPLICATION_VERSION v1.8.1
DS /
__MY_HTTP__ https
__MY_ROOT__
__MY_ROOT_PUBLIC__ /
__MY_HOST__ www.shuanghui.net
__MY_URL__ /
__MY_PUBLIC_URL__ /
__MY_VIEW_URL__ /newslist-27.html
ROOT_PATH /www/wwwroot/www.shuanghui.net/public/
ROOT /www/wwwroot/www.shuanghui.net/
APP_PATH /www/wwwroot/www.shuanghui.net/application/
APPLICATION web
APPLICATION_CLIENT_TYPE pc
IS_AJAX false
XML 地图