新莆京3969|主站首页

[8] ErrorException in NewsController.php line 67

未定义变量: shang

  1. }
  2. }
  3. $this->assign(array(
  4. 'cate' => $cate,
  5. 'classy' => $classy,
  6. 'show' => $show,
  7. 'shang' => $shang,
  8. 'xia' => $xia,
  9. ));
  10. return $this->fetch();
  11. }
  12. public function bfdetail(){

Call Stack

  1. in NewsController.php line 67
  2. at Error::appError(8, 'Undefined variable: ...', '/home/wwwroot/www.qs...', 67, ['pid' => '4', 'id' => '88', 'cate' => [['id' => 2, 'catename' => '公司新闻'], ['id' => 3, 'catename' => '行业新闻'], ['id' => 4, 'catename' => '公告通告']], ...]) in NewsController.php line 67
  3. at NewsController->show()
  4. at ReflectionMethod->invokeArgs(object(NewsController), []) in Container.php line 395
  5. at Container->invokeReflectMethod(object(NewsController), object(ReflectionMethod), ['pid' => '4', 'id' => '88', 'convert' => false]) in Module.php line 132
  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 137
  11. at Module->exec() in Dispatch.php line 168
  12. at Dispatch->run() in App.php line 432
  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))
  16. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  17. at Middleware->dispatch(object(Request)) in App.php line 435
  18. at App->run() in index.php line 29

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookies
PHPSESSID stllo40i5rhu414pu2262hcgp3
Session
__flash__ []
__token__ db929bcfd38bfef5f60f0194cac6b2ab
Server/Request Data
USER www
HOME /home/www
HTTP_COOKIE PHPSESSID=stllo40i5rhu414pu2262hcgp3
HTTP_ACCEPT_ENCODING gzip
HTTP_ACCEPT */*
HTTP_HOST www.qssuzuki.com.cn
HTTP_USER_AGENT Mozilla/5.0 (Linux; Android 7.0;) AppleWebKit/537.36 (KHTML, like Gecko) Mobile Safari/537.36 (compatible; PetalBot;+https://webmaster.petalsearch.com/site/petalbot)
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME www.qssuzuki.com.cn
SERVER_PORT 80
SERVER_ADDR 10.139.98.63
REMOTE_PORT 48288
REMOTE_ADDR 104.206.95.10
SERVER_SOFTWARE nginx/1.20.1
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /home/wwwroot/www.qssuzuki.com.cn/public
DOCUMENT_URI /index.php
REQUEST_URI /newsdetail/4/88.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/newsdetail/4/88.html
SCRIPT_FILENAME /home/wwwroot/www.qssuzuki.com.cn/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1658835030.88
REQUEST_TIME 1658835030
Environment Variablesempty
ThinkPHP Constantsempty