#0 [0]HttpException in helper.php line 53

  1. * @param integer|Response $code 状态码 或者 Response对象实例
  2. * @param string $message 错误信息
  3. * @param array $header 参数
  4. */
  5. function abort($code, string $message = '', array $header = [])
  6. {
  7. if ($code instanceof Response) {
  8. throw new HttpResponseException($code);
  9. } else {
  10. throw new HttpException($code, $message, null, $header);
  11. }
  12. }
  13. }
  14. if (!function_exists('app')) {
  15. /**
  16. * 快速获取容器中的实例 支持依赖注入
  17. * @param string $name 类名或标识 默认获取当前应用实例
  18. * @param array $args 参数

Call Stack

  1. in helper.php line 53
  2. at abort() in Error.php line 9
  3. at Error->__construct()
  4. at ReflectionClass->newInstanceArgs() in Container.php line 394
  5. at Container->invokeClass() in Container.php line 251
  6. at Container->make() in Controller.php line 178
  7. at Controller->controller() in Controller.php line 74
  8. at Controller->exec() in Dispatch.php line 89
  9. at Dispatch->run() in Route.php line 772
  10. at Route->think\{closure}() in Pipeline.php line 59
  11. at Pipeline->think\{closure}() in Pipeline.php line 66
  12. at Pipeline->then() in Route.php line 773
  13. at Route->dispatch() in Http.php line 216
  14. at Http->dispatchToRoute() in Http.php line 206
  15. at Http->think\{closure}() in Pipeline.php line 59
  16. at Pipeline->think\{closure}() in MultiApp.php line 71
  17. at MultiApp->think\app\{closure}() in Pipeline.php line 59
  18. at Pipeline->think\{closure}() in DiviceMiddleware.php line 21
  19. at DiviceMiddleware->handle()
  20. at call_user_func() in Middleware.php line 142
  21. at Middleware->think\{closure}() in Pipeline.php line 85
  22. at Pipeline->think\{closure}() in Pipeline.php line 66
  23. at Pipeline->then() in MultiApp.php line 72
  24. at MultiApp->handle()
  25. at call_user_func() in Middleware.php line 142
  26. at Middleware->think\{closure}() in Pipeline.php line 85
  27. at Pipeline->think\{closure}() in SessionInit.php line 67
  28. at SessionInit->handle()
  29. at call_user_func() in Middleware.php line 142
  30. at Middleware->think\{closure}() in Pipeline.php line 85
  31. at Pipeline->think\{closure}() in TraceDebug.php line 71
  32. at TraceDebug->handle()
  33. at call_user_func() in Middleware.php line 142
  34. at Middleware->think\{closure}() in Pipeline.php line 85
  35. at Pipeline->think\{closure}() in Pipeline.php line 66
  36. at Pipeline->then() in Http.php line 207
  37. at Http->runWithRequest() in Http.php line 170
  38. at Http->run() in index.php line 20

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www-data
HOME /var/www
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
HTTP_HOST www.fx112.cn
SCRIPT_FILENAME /var/www/fx112.cn/public/index.php
REDIRECT_STATUS 200
SERVER_NAME fx112.cn
SERVER_PORT 443
SERVER_ADDR 103.136.35.134
REMOTE_USER
REMOTE_PORT 51636
REMOTE_ADDR 54.205.116.187
SERVER_SOFTWARE nginx/1.18.0
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/2.0
DOCUMENT_ROOT /var/www/fx112.cn/public
DOCUMENT_URI /index.php
REQUEST_URI /article/8721.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=//article/8721.html
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711622121.7394
REQUEST_TIME 1711622121