[0] HttpException in Module.php line 127

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

  1. : $this->request->param();
  2. $vars = array_merge($vars, $this->param);
  3. } elseif (is_callable([$instance, '_empty'])) {
  4. // 空操作
  5. $call = [$instance, '_empty'];
  6. $vars = [$this->actionName];
  7. $reflect = new ReflectionMethod($instance, '_empty');
  8. } else {
  9. // 操作不存在
  10. throw new HttpException(404, 'method not exists:' . get_class($instance) . '->' . $action . '()');
  11. }
  12. $this->app['hook']->listen('action_begin', $call);
  13. $data = $this->app->invokeReflectMethod($instance, $reflect, $vars);
  14. return $this->autoResponse($data);
  15. });

Call Stack

  1. in Module.php line 127
  2. at Module->think\route\dispatch\{closure}(object(Request), object(Closure), null)
  3. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  4. at Middleware->think\{closure}(object(Request))
  5. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  6. at Middleware->dispatch(object(Request), 'controller') in Module.php line 137
  7. at Module->exec() in Dispatch.php line 168
  8. at Dispatch->run() in App.php line 432
  9. at App->think\{closure}(object(Request), object(Closure), null)
  10. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  11. at Middleware->think\{closure}(object(Request))
  12. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  13. at Middleware->dispatch(object(Request)) in App.php line 435
  14. at App->run() in index.php line 21

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
FCGI_ROLE RESPONDER
SCRIPT_FILENAME /www/wwwroot/honorzenith/public/index.php
QUERY_STRING s=/index/index/work/category_id/1.html
REQUEST_METHOD GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME /index.php
REQUEST_URI /index/index/work/category_id/1.html
DOCUMENT_URI /index.php
DOCUMENT_ROOT /www/wwwroot/honorzenith/public
SERVER_PROTOCOL HTTP/1.1
REQUEST_SCHEME http
GATEWAY_INTERFACE CGI/1.1
SERVER_SOFTWARE nginx/1.15.10
REMOTE_ADDR 3.229.122.112
REMOTE_PORT 57756
SERVER_ADDR 172.18.208.246
SERVER_PORT 80
SERVER_NAME www.honorzenith.com
REDIRECT_STATUS 200
PATH_INFO
HTTP_ACCEPT */*
HTTP_USER_AGENT claudebot
HTTP_HOST www.honorzenith.com
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1710820006.5297
REQUEST_TIME 1710820006
Environment Variablesempty
ThinkPHP Constants
SOURCE_URL https://www.honorzenith.com