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

方法不存在:app\index\controller\User->index()

  1. $this->request->setAction($actionName);
  2. } catch (ReflectionException $e) {
  3. $reflect = new ReflectionMethod($instance, '__call');
  4. $vars = [$action, $vars];
  5. $this->request->setAction($action);
  6. }
  7. } else {
  8. // 操作不存在
  9. throw new HttpException(404, 'method not exists:' . get_class($instance) . '->' . $action . '()');
  10. }
  11. $data = $this->app->invokeReflectMethod($instance, $reflect, $vars);
  12. return $this->autoResponse($data);
  13. });
  14. }
  15. protected function parseActions($actions)

Call Stack

  1. in Controller.php line 107
  2. at Controller->think\route\dispatch\{closure}(object(Request)) in Pipeline.php line 59
  3. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  4. at Pipeline->then(object(Closure)) in Controller.php line 113
  5. at Controller->exec() in Dispatch.php line 90
  6. at Dispatch->run() in Route.php line 772
  7. at Route->think\{closure}(object(Request)) in Pipeline.php line 59
  8. at Pipeline->think\{closure}(object(Request)) in Library.php line 62
  9. at Library->think\admin\{closure}(object(Request), object(Closure))
  10. at call_user_func(object(Closure), object(Request), object(Closure)) in Middleware.php line 142
  11. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  12. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  13. at Pipeline->then(object(Closure)) in Route.php line 773
  14. at Route->dispatch(object(Request), object(Closure)) in Http.php line 216
  15. at Http->dispatchToRoute(object(Request)) in Http.php line 206
  16. at Http->think\{closure}(object(Request)) in Pipeline.php line 59
  17. at Pipeline->think\{closure}(object(Request)) in MultiApp.php line 71
  18. at MultiApp->think\app\{closure}(object(Request)) in Pipeline.php line 59
  19. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  20. at Pipeline->then(object(Closure)) in MultiApp.php line 72
  21. at MultiApp->handle(object(Request), object(Closure))
  22. at call_user_func([object(MultiApp), '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 SessionInit.php line 67
  25. at SessionInit->handle(object(Request), object(Closure))
  26. at call_user_func([object(SessionInit), '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 Http.php line 207
  30. at Http->runWithRequest(object(Request)) in Http.php line 170
  31. at Http->run() in index.php line 22

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_CONNECTION Keep-Alive
HTTP_HOST doc.sndxsw.cn
HTTP_ACCEPT_ENCODING br,gzip
HTTP_IF_MODIFIED_SINCE Thu, 18 Apr 2024 10:17:10 GMT
HTTP_ACCEPT_LANGUAGE en-US,en;q=0.5
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_USER_AGENT CCBot/2.0 (https://commoncrawl.org/faq/)
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME doc.sndxsw.cn
SERVER_PORT 80
SERVER_ADDR 10.0.16.16
REMOTE_PORT 43834
REMOTE_ADDR 44.213.60.33
SERVER_SOFTWARE nginx/1.19.8
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/doc.sndxsw.com/public
DOCUMENT_URI /index.php
REQUEST_URI /user/index.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/user/index.html
SCRIPT_FILENAME /www/wwwroot/doc.sndxsw.com/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1721899279.6615
REQUEST_TIME 1721899279