[8] ErrorException in Error.php line 75

未定义变量: cate

  1. $this->view->assign('info', $info);//单页内容
  2. //定义tdk
  3. $title = $cate['title'] ? $cate['title'] :
  4. ($cate['catname'] ? $cate['catname'] : $info['title']);
  5. $keywords = $cate['keywords'] ? $cate['keywords'] : $system['key'];
  6. $description = $cate['description'] ? $cate['description'] : $system['des'];
  7. }else{
  8. //列表模型
  9. //定义tdk
  10. $title = $cate['title'] ? $cate['title'] : $cate['catname'];
  11. $keywords = $cate['keywords'] ? $cate['keywords'] : $system['key'];
  12. $description = $cate['description'] ? $cate['description'] : $system['des'];
  13. }
  14. $this->view->assign('cate', $cate);//栏目信息
  15. $this->view->assign('system', $system);//系统信息
  16. $this->view->assign('public', '/template/'.$this->module.'/'.$system['template'].'/');//公共目录
  17. $this->view->assign('title', $title);//seo信息
  18. $this->view->assign('keywords', $keywords);//seo信息
  19. $this->view->assign('description', $description);//seo信息

Call Stack

  1. in Error.php line 75
  2. at Error::appError() in Error.php line 75
  3. at Error->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 21

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www-data
HOME /var/www
HTTP_HOST m.yingivf.cn
HTTP_REFERER http://m.yingivf.cn/FSH.html
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
REDIRECT_STATUS 200
SERVER_NAME m.yingivf.cn
SERVER_PORT 443
SERVER_ADDR 47.89.25.83
REMOTE_USER
REMOTE_PORT 36220
REMOTE_ADDR 44.203.58.132
SERVER_SOFTWARE nginx/1.18.0
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /usr/share/nginx/www.yingivf.cn/public
DOCUMENT_URI /index.php
REQUEST_URI /FSH.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/FSH.html
SCRIPT_FILENAME /usr/share/nginx/www.yingivf.cn/public/index.php
PATH_INFO
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711647421.6893
REQUEST_TIME 1711647421
Environment Variablesempty
ThinkPHP Constants
ADDON_PATH /usr/share/nginx/www.yingivf.cn/addons/