in App.php line 578
at App::module(['user', null, null], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], null) in App.php line 457
at App::exec(['type' => 'module', 'module' => ['user', null, null]], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
at App::run() in start.php line 19
at require('D:\phpStudy\WWW\thin...') in index.php line 34
4 个回复
清风笑对人生 - 专注PHP(原生、ThinkPHP、Laravel)、NodeJS、Vue、Nginx
赞同来自:
dolphinphp
赞同来自:
scar
赞同来自:
控制器不存在:app\user\home\Index
try {
$instance = Loader::controller(
$controller,
$config['url_controller_layer'],
$config['controller_suffix'],
$config['empty_controller']
);
} catch (ClassNotFoundException $e) {
throw new HttpException(404, 'controller not exists:' . $e->getClass());
}
// 获取当前操作名
$action = $actionName . $config['action_suffix'];
$vars = [];
if (is_callable([$instance, $action])) {
// 执行操作方法
$call = [$instance, $action];
Call Stack
in App.php line 578
at App::module(['user', null, null], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], null) in App.php line 457
at App::exec(['type' => 'module', 'module' => ['user', null, null]], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
at App::run() in start.php line 19
at require('D:\phpStudy\WWW\thin...') in index.php line 34
dolphinphp
赞同来自: