#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. * @template T
  18. * @param string|class-string<T> $name 类名或标识 默认获取当前应用实例

Call Stack

  1. in helper.php line 53
  2. at abort() in app.php line 26
  3. at Http->{closure}() in Container.php line 294
  4. at Container->invokeFunction() in Container.php line 358
  5. at Container->invoke() in Callback.php line 27
  6. at Callback->exec() in Dispatch.php line 80
  7. at Dispatch->run() in Route.php line 793
  8. at Route->think\{closure}() in Pipeline.php line 59
  9. at Pipeline->think\{closure}() in Pipeline.php line 66
  10. at Pipeline->then() in Route.php line 792
  11. at Route->dispatch() in Http.php line 216
  12. at Http->dispatchToRoute() in Http.php line 206
  13. at Http->think\{closure}() in Pipeline.php line 59
  14. at Pipeline->think\{closure}() in MultiApp.php line 45
  15. at MultiApp->handle()
  16. at call_user_func() in Middleware.php line 142
  17. at Middleware->think\{closure}() in Pipeline.php line 85
  18. at Pipeline->think\{closure}() in Check.php line 13
  19. at Check->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 SessionInit.php line 67
  23. at SessionInit->handle()
  24. at call_user_func() in Middleware.php line 142
  25. at Middleware->think\{closure}() in Pipeline.php line 85
  26. at Pipeline->think\{closure}() in TraceDebug.php line 71
  27. at TraceDebug->handle()
  28. at call_user_func() in Middleware.php line 142
  29. at Middleware->think\{closure}() in Pipeline.php line 85
  30. at Pipeline->think\{closure}() in Pipeline.php line 66
  31. at Pipeline->then() in Http.php line 205
  32. at Http->runWithRequest() in Http.php line 170
  33. at Http->run() in index.php line 20

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 bonystudio.com
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME bonystudio.com
SERVER_PORT 443
SERVER_ADDR 10.0.0.50
REMOTE_PORT 54622
REMOTE_ADDR 54.225.35.224
SERVER_SOFTWARE nginx/1.22.1
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/2.0
DOCUMENT_ROOT /www/wwwroot/bonystudio.com/public
DOCUMENT_URI /index.php
REQUEST_URI /Index/product
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/Index/product
SCRIPT_FILENAME /www/wwwroot/bonystudio.com/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711648475.0125
REQUEST_TIME 1711648475
0.059322s