#0 [0]HttpException in Controller.php line 76

控制器不存在:app\index\controller\Topic

  1. ->setAction($this->actionName);
  2. }
  3. public function exec()
  4. {
  5. try {
  6. // 实例化控制器
  7. $instance = $this->controller($this->controller);
  8. } catch (ClassNotFoundException $e) {
  9. throw new HttpException(404, 'controller not exists:' . $e->getClass());
  10. }
  11. // 注册控制器中间件
  12. $this->registerControllerMiddleware($instance);
  13. return $this->app->middleware->pipeline('controller')
  14. ->send($this->request)
  15. ->then(function () use ($instance) {
  16. // 获取当前操作名

Call Stack

  1. in Controller.php line 76
  2. at Controller->exec() in Dispatch.php line 80
  3. at Dispatch->run() in Route.php line 793
  4. at Route->think\{closure}() in Pipeline.php line 59
  5. at Pipeline->think\{closure}() in Pipeline.php line 66
  6. at Pipeline->then() in Route.php line 794
  7. at Route->dispatch() in Http.php line 216
  8. at Http->dispatchToRoute() in Http.php line 206
  9. at Http->think\{closure}() in Pipeline.php line 59
  10. at Pipeline->think\{closure}() in MultiApp.php line 51
  11. at MultiApp->think\app\{closure}() in Pipeline.php line 59
  12. at Pipeline->think\{closure}() in Pipeline.php line 66
  13. at Pipeline->then() in MultiApp.php line 52
  14. at MultiApp->handle()
  15. at call_user_func() in Middleware.php line 142
  16. at Middleware->think\{closure}() in Pipeline.php line 85
  17. at Pipeline->think\{closure}() in SessionInit.php line 67
  18. at SessionInit->handle()
  19. at call_user_func() in Middleware.php line 142
  20. at Middleware->think\{closure}() in Pipeline.php line 85
  21. at Pipeline->think\{closure}() in AllowCrossDomain.php line 61
  22. at AllowCrossDomain->handle()
  23. at call_user_func() in Middleware.php line 142
  24. at Middleware->think\{closure}() in Pipeline.php line 85
  25. at Pipeline->think\{closure}() in Pipeline.php line 66
  26. at Pipeline->then() in Http.php line 207
  27. at Http->runWithRequest() in Http.php line 170
  28. at Http->run() in index.php line 32

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_REFERER http://www.jq666.cc/index.php/topic/detail/id/8.html
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
HTTP_HOST www.jq666.cc
PATH_INFO /topic/detail/id/8.html
REDIRECT_STATUS 200
SERVER_NAME www.jq666.cc
SERVER_PORT 443
SERVER_ADDR 45.114.171.74
REMOTE_PORT 47084
REMOTE_ADDR 3.87.133.69
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/www.jq666.cc/public
DOCUMENT_URI /index.php/topic/detail/id/8.html
REQUEST_URI /index.php/topic/detail/id/8.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING
SCRIPT_FILENAME /www/wwwroot/www.jq666.cc/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php/topic/detail/id/8.html
REQUEST_TIME_FLOAT 1711632518.7917
REQUEST_TIME 1711632518