#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 $name 类名或标识 默认获取当前应用实例

Call Stack

  1. in helper.php line 53
  2. at abort(404, '页面不存在') in Article.php line 232
  3. at Article->category() in Article.php line 54
  4. at Article->lists()
  5. at ReflectionMethod->invokeArgs(object(Article), []) in Container.php line 344
  6. at Container->invokeReflectMethod(object(Article), object(ReflectionMethod), ['category' => '27']) in Controller.php line 110
  7. at Controller->think\route\dispatch\{closure}(object(Request)) in Pipeline.php line 59
  8. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  9. at Pipeline->then(object(Closure)) in Controller.php line 113
  10. at Controller->exec() in Dispatch.php line 90
  11. at Dispatch->run() in Route.php line 785
  12. at Route->think\{closure}(object(Request)) in Pipeline.php line 59
  13. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  14. at Pipeline->then(object(Closure)) in Route.php line 786
  15. at Route->dispatch(object(Request), object(Closure)) in Http.php line 216
  16. at Http->dispatchToRoute(object(Request)) in Http.php line 206
  17. at Http->think\{closure}(object(Request)) in Pipeline.php line 59
  18. at Pipeline->think\{closure}(object(Request)) in MultiApp.php line 71
  19. at MultiApp->think\app\{closure}(object(Request)) in Pipeline.php line 59
  20. at Pipeline->think\{closure}(object(Request)) in SessionInit.php line 67
  21. at SessionInit->handle(object(Request), object(Closure))
  22. at call_user_func([object(SessionInit), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  23. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  24. at Pipeline->think\{closure}(object(Request)) in CheckRequestCache.php line 94
  25. at CheckRequestCache->handle(object(Request), object(Closure))
  26. at call_user_func([object(CommonCheckRequestCache), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  27. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  28. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  29. at Pipeline->then(object(Closure)) in MultiApp.php line 72
  30. at MultiApp->handle(object(Request), object(Closure))
  31. at call_user_func([object(MultiApp), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  32. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  33. at Pipeline->think\{closure}(object(Request)) in TraceDebug.php line 71
  34. at TraceDebug->handle(object(Request), object(Closure))
  35. at call_user_func([object(TraceDebug), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  36. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  37. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  38. at Pipeline->then(object(Closure)) in Http.php line 207
  39. at Http->runWithRequest(object(Request)) in Http.php line 170
  40. at Http->run() in index.php line 20

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookies
PHPSESSID 5631a825815df12efaa87accf174d5d8
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_COOKIE PHPSESSID=5631a825815df12efaa87accf174d5d8
HTTP_ACCEPT_ENCODING gzip
HTTP_ACCEPT */*
HTTP_HOST www.sinopharmhospital.com
HTTP_USER_AGENT CCBot/2.0 (https://commoncrawl.org/faq/)
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME sinopharmhospital.com
SERVER_PORT 80
SERVER_ADDR 172.27.205.128
REMOTE_PORT 39672
REMOTE_ADDR 107.158.254.10
SERVER_SOFTWARE nginx/1.21.4
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/sinopharmhospital.com/public
DOCUMENT_URI /index.php
REQUEST_URI //index/list/27.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/index/list/27.html
SCRIPT_FILENAME /www/wwwroot/sinopharmhospital.com/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1720821452.2688
REQUEST_TIME 1720821452