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

方法不存在:app\controller\IndexController->cp()

  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 Pipeline.php line 66
  9. at Pipeline->then(object(Closure)) in Route.php line 773
  10. at Route->dispatch(object(Request), object(Closure)) in Http.php line 216
  11. at Http->dispatchToRoute(object(Request)) in Http.php line 206
  12. at Http->think\{closure}(object(Request)) in Pipeline.php line 59
  13. at Pipeline->think\{closure}(object(Request)) in MultiApp.php line 65
  14. at MultiApp->handle(object(Request), object(Closure))
  15. at call_user_func([object(MultiApp), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  16. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  17. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  18. at Pipeline->then(object(Closure)) in Http.php line 207
  19. at Http->runWithRequest(object(Request)) in Http.php line 170
  20. at Http->run() in index.php line 25

Environment Variables

GET Data
id 1895
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
HTTP_HOST www.good-pump.com
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME good-pump.com
SERVER_PORT 443
SERVER_ADDR 192.168.0.227
REMOTE_PORT 39124
REMOTE_ADDR 52.90.181.205
SERVER_SOFTWARE nginx/1.19.8
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/2.0
DOCUMENT_ROOT /www/wwwroot/good-pump.com/public
DOCUMENT_URI /index.php
REQUEST_URI /cp-1895.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/index.php&s=index/cp&id=1895
SCRIPT_FILENAME /www/wwwroot/good-pump.com/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1710831379.801
REQUEST_TIME 1710831379