[0] HttpException in App.php line 410

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

  1. if (is_callable([$instance, $action])) {
  2. // 执行操作方法
  3. $call = [$instance, $action];
  4. } elseif (is_callable([$instance, '_empty'])) {
  5. // 空操作
  6. $call = [$instance, '_empty'];
  7. $vars = [$actionName];
  8. } else {
  9. // 操作不存在
  10. throw new HttpException(404, 'method not exists:' . get_class($instance) . '->' . $action . '()');
  11. }
  12. Hook::listen('action_begin', $call);
  13. return self::invokeMethod($call, $vars);
  14. }
  15. /**
  16. * 初始化应用

Call Stack

  1. in App.php line 410
  2. at App::module(['index', 'index', 'article'], ['app_host' => '', 'app_debug' => true, 'app_trace' => true, ...], null) in App.php line 295
  3. at App::exec(['type' => 'module', 'module' => ['index', 'index', 'article']], ['app_host' => '', 'app_debug' => true, 'app_trace' => true, ...]) in App.php line 123
  4. at App::run() in start.php line 18
  5. at require('C:\FTP\website\wqmas...') in public.php line 29
  6. at require('C:\FTP\website\wqmas...') in index.php line 16
0.040146s