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

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

                        
  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. /**

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 89
  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 111
  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 Multiple.php line 71
  18. at Multiple->think\admin\multiple\{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 Multiple.php line 72
  21. at Multiple->handle(object(Request), object(Closure))
  22. at call_user_func([object(Multiple), '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 LoadLangPack.php line 59
  25. at LoadLangPack->handle(object(Request), object(Closure))
  26. at call_user_func([object(LoadLangPack), '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 SessionInit.php line 67
  29. at SessionInit->handle(object(Request), object(Closure))
  30. at call_user_func([object(SessionInit), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  31. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  32. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  33. at Pipeline->then(object(Closure)) in Http.php line 207
  34. at Http->runWithRequest(object(Request)) in Http.php line 170
  35. at Http->run() in SystemService.php line 336
  36. at SystemService->doInit() in index.php line 22

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER
www
HOME
/home/www
HTTP_ACCEPT_ENCODING
deflate, gzip
HTTP_ACCEPT
*/*
HTTP_HOST
www.ahyc168.com
HTTP_USER_AGENT
Mozilla/5.0+(compatible;+Baiduspider/2.0;++http://www.baidu.com/search/spider.html)
PATH_INFO
/index/index/driver.html
REDIRECT_STATUS
200
SERVER_NAME
www.ahyc168.com
SERVER_PORT
80
SERVER_ADDR
172.16.107.161
REMOTE_PORT
20000
REMOTE_ADDR
164.88.124.163
SERVER_SOFTWARE
nginx/1.20.1
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/www/wwwroot/ahyc_official/public
DOCUMENT_URI
/index.php/index/index/driver.html
REQUEST_URI
/index/index/driver.html
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
SCRIPT_FILENAME
/www/wwwroot/ahyc_official/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php/index/index/driver.html
REQUEST_TIME_FLOAT
1634986285.7768
REQUEST_TIME
1634986285