[8] ErrorException in SupportController.php line 87

未定义变量: shang

  1. } else {
  2. $xia = $newslist[$k + 1];
  3. }
  4. }
  5. }
  6. $this->assign(array(
  7. 'show' => $show,
  8. 'shang' => $shang,
  9. 'xia' => $xia,
  10. ));
  11. return $this->fetch();
  12. }
  13. //产品使用手册
  14. public function manual()
  15. {
  16. if (request()->isPost()) {

Call Stack

  1. in SupportController.php line 87
  2. at Error::appError(8, 'Undefined variable: ...', '/home/wwwroot/www.qs...', 87, ['id' => '36', 'show' => ['id' => 36, 'title' => '中秋·国庆“风...', 'describe' => '中秋·国庆“风...', ...], 'newslist' => [['id' => 241, 'title' => '...'], ['id' => 240, 'title' => '...'], ['id' => 239, 'title' => '...'], ...], ...]) in SupportController.php line 87
  3. at SupportController->show()
  4. at ReflectionMethod->invokeArgs(object(SupportController), []) in Container.php line 395
  5. at Container->invokeReflectMethod(object(SupportController), object(ReflectionMethod), ['id' => '36', '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
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
HTTP_HOST qssuzuki.com.cn
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME www.qssuzuki.com.cn
SERVER_PORT 443
SERVER_ADDR 10.139.98.63
REMOTE_PORT 35554
REMOTE_ADDR 100.25.40.11
SERVER_SOFTWARE nginx/1.20.1
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/2.0
DOCUMENT_ROOT /home/wwwroot/www.qssuzuki.com.cn/public
DOCUMENT_URI /index.php
REQUEST_URI /supportdetail/36.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/supportdetail/36.html
SCRIPT_FILENAME /home/wwwroot/www.qssuzuki.com.cn/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1710816399.0958
REQUEST_TIME 1710816399
Environment Variablesempty
ThinkPHP Constantsempty