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

方法不存在:app\frontend\controller\News->n3()

  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}() in Pipeline.php line 59
  3. at Pipeline->think\{closure}() in Pipeline.php line 66
  4. at Pipeline->then() in Controller.php line 113
  5. at Controller->exec() in Dispatch.php line 90
  6. at Dispatch->run() in Route.php line 785
  7. at Route->think\{closure}() in Pipeline.php line 59
  8. at Pipeline->think\{closure}() in Pipeline.php line 66
  9. at Pipeline->then() in Route.php line 786
  10. at Route->dispatch() in Http.php line 216
  11. at Http->dispatchToRoute() in Http.php line 206
  12. at Http->think\{closure}() in Pipeline.php line 59
  13. at Pipeline->think\{closure}() in MultiApp.php line 71
  14. at MultiApp->think\app\{closure}() in Pipeline.php line 59
  15. at Pipeline->think\{closure}() in Pipeline.php line 66
  16. at Pipeline->then() in MultiApp.php line 72
  17. at MultiApp->handle()
  18. at call_user_func() in Middleware.php line 142
  19. at Middleware->think\{closure}() in Pipeline.php line 85
  20. at Pipeline->think\{closure}() in webLog.php line 27
  21. at webLog->handle()
  22. at call_user_func() in Middleware.php line 142
  23. at Middleware->think\{closure}() in Pipeline.php line 85
  24. at Pipeline->think\{closure}() in SessionInit.php line 67
  25. at SessionInit->handle()
  26. at call_user_func() in Middleware.php line 142
  27. at Middleware->think\{closure}() in Pipeline.php line 85
  28. at Pipeline->think\{closure}() in InjectJwt.php line 14
  29. at InjectJwt->handle()
  30. at call_user_func() in Middleware.php line 142
  31. at Middleware->think\{closure}() in Pipeline.php line 85
  32. at Pipeline->think\{closure}() in TraceDebug.php line 71
  33. at TraceDebug->handle()
  34. at call_user_func() in Middleware.php line 142
  35. at Middleware->think\{closure}() in Pipeline.php line 85
  36. at Pipeline->think\{closure}() in Pipeline.php line 66
  37. at Pipeline->then() in Http.php line 207
  38. at Http->runWithRequest() in Http.php line 170
  39. at Http->run() in index.php line 25

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_HOST www.yesbook.cn
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME bwadmin.yesbook.cn
SERVER_PORT 80
SERVER_ADDR 172.30.191.84
REMOTE_PORT 38038
REMOTE_ADDR 3.83.81.42
SERVER_SOFTWARE nginx/1.22.1
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /home/www/tp6-novel-douyin/public
DOCUMENT_URI /index.php
REQUEST_URI /news/n3/2016.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/news/n3/2016.html
SCRIPT_FILENAME /home/www/tp6-novel-douyin/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711636730.9256
REQUEST_TIME 1711636730
0.059315s