[0] HttpException in Module.php line 97

控制器不存在:app\home\controller\Visit

  1. $this->app['hook']->listen('module_init');
  2. try {
  3. // 实例化控制器
  4. $instance = $this->app->controller($this->controller,
  5. $this->rule->getConfig('url_controller_layer'),
  6. $this->rule->getConfig('controller_suffix'),
  7. $this->rule->getConfig('empty_controller'));
  8. } catch (ClassNotFoundException $e) {
  9. throw new HttpException(404, 'controller not exists:' . $e->getClass());
  10. }
  11. $this->app['middleware']->controller(function (Request $request, $next) use ($instance) {
  12. // 获取当前操作名
  13. $action = $this->actionName . $this->rule->getConfig('action_suffix');
  14. if (is_callable([$instance, $action])) {
  15. // 执行操作方法
  16. $call = [$instance, $action];

Call Stack

  1. in Module.php line 97
  2. at Module->exec() in Dispatch.php line 168
  3. at Dispatch->run() in App.php line 432
  4. at App->think\{closure}(object(Request), object(Closure), null)
  5. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  6. at Middleware->think\{closure}(object(Request))
  7. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  8. at Middleware->dispatch(object(Request)) in App.php line 435
  9. 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
HTTP_HOST yqsmesc.com
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME yqsmesc.com
SERVER_PORT 80
SERVER_ADDR 172.16.0.253
REMOTE_PORT 53440
REMOTE_ADDR 3.236.18.23
SERVER_SOFTWARE nginx/1.22.0
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/yingquan/public
DOCUMENT_URI /index.php
REQUEST_URI /home/visit/index.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/home/visit/index.html
SCRIPT_FILENAME /www/wwwroot/yingquan/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1710815658.0259
REQUEST_TIME 1710815658
Environment Variablesempty
ThinkPHP Constants
MAX_MENU_LENGTH 3
MAX_SUB_MENU_LENGTH 5
QR_MODE_NUL -1
QR_MODE_NUM 0
QR_MODE_AN 1
QR_MODE_8 2
QR_MODE_KANJI 3
QR_MODE_STRUCTURE 4
QR_ECLEVEL_L 0
QR_ECLEVEL_M 1
QR_ECLEVEL_Q 2
QR_ECLEVEL_H 3
QR_FORMAT_TEXT 0
QR_FORMAT_PNG 1
QR_CACHEABLE true
QR_CACHE_DIR /www/wwwroot/yingquan/vendor/kairos/phpqrcode/cache/
QR_LOG_DIR /www/wwwroot/yingquan/vendor/kairos/phpqrcode/
QR_FIND_BEST_MASK true
QR_FIND_FROM_RANDOM false
QR_DEFAULT_MASK 2
QR_PNG_MAXIMUM_SIZE 1024
QRSPEC_VERSION_MAX 40
QRSPEC_WIDTH_MAX 177
QRCAP_WIDTH 0
QRCAP_WORDS 1
QRCAP_REMINDER 2
QRCAP_EC 3
QR_IMAGE true
QR_VECT true
STRUCTURE_HEADER_BITS 20
MAX_STRUCTURED_SYMBOLS 16
N1 3
N2 3
N3 40
N4 10