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

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

  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:' . $instance::class . '->' . $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 Browers.php line 57
  4. at Browers->handle()
  5. at call_user_func() in Middleware.php line 134
  6. at Middleware->think\{closure}() in Pipeline.php line 85
  7. at Pipeline->think\{closure}() in Pipeline.php line 66
  8. at Pipeline->then() in Controller.php line 113
  9. at Controller->exec() in Dispatch.php line 52
  10. at Dispatch->run() in Route.php line 755
  11. at Route->think\{closure}() in Pipeline.php line 59
  12. at Pipeline->think\{closure}() in Pipeline.php line 66
  13. at Pipeline->then() in Route.php line 756
  14. at Route->dispatch() in Http.php line 208
  15. at Http->dispatchToRoute() in Http.php line 198
  16. at Http->think\{closure}() in Pipeline.php line 59
  17. at Pipeline->think\{closure}() in MultiApp.php line 51
  18. at MultiApp->think\app\{closure}() in Pipeline.php line 59
  19. at Pipeline->think\{closure}() in Pipeline.php line 66
  20. at Pipeline->then() in MultiApp.php line 52
  21. at MultiApp->handle()
  22. at call_user_func() in Middleware.php line 134
  23. at Middleware->think\{closure}() in Pipeline.php line 85
  24. at Pipeline->think\{closure}() in SessionInit.php line 58
  25. at SessionInit->handle()
  26. at call_user_func() in Middleware.php line 134
  27. at Middleware->think\{closure}() in Pipeline.php line 85
  28. at Pipeline->think\{closure}() in TraceDebug.php line 71
  29. at TraceDebug->handle()
  30. at call_user_func() in Middleware.php line 134
  31. at Middleware->think\{closure}() in Pipeline.php line 85
  32. at Pipeline->think\{closure}() in Pipeline.php line 66
  33. at Pipeline->then() in Http.php line 199
  34. at Http->runWithRequest() in Http.php line 162
  35. at Http->run() in index.php line 22

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookies
PHPSESSID 5dd6615a16ceac5b21e387639807632f
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_COOKIE PHPSESSID=5dd6615a16ceac5b21e387639807632f
HTTP_ACCEPT_ENCODING gzip
HTTP_ACCEPT */*
HTTP_HOST www.bami.com.cn
HTTP_USER_AGENT Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME bami.com.cn
SERVER_PORT 80
SERVER_ADDR 172.27.89.87
REMOTE_PORT 42506
REMOTE_ADDR 50.2.188.154
SERVER_SOFTWARE nginx/1.24.0
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/bami.com.cn/public
DOCUMENT_URI /index.php
REQUEST_URI /sitemap.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/sitemap.html
SCRIPT_FILENAME /www/wwwroot/bami.com.cn/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1714062527.2495
REQUEST_TIME 1714062527