ThinkPHP内核不知道是什么与原因报错

[0] HttpException in App.php line 535
模块不存在:index
                $config = self::init($module);

                // 模块请求缓存检查
                $request->cache(
                    $config['request_cache'],
                    $config['request_cache_expire'],
                    $config['request_cache_except']
                );
            } else {
                throw new HttpException(404, 'module not exists:' . $module);
            }
        } else {
            // 单一模块部署
            $module = '';
            $request->module($module);
        }

        // 设置默认过滤机制
        $request->filter($config['default_filter']);



Call Stack
in App.php line 535
at App::module(['index', 'news', 'index'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 457
at App::exec(['type' => 'module', 'module' => ['index', 'news', 'index'], 'convert' => false], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
at App::run() in start.php line 19
at require('/www/wwwroot/5zoi.cn...') in admin.php line 19

 

老铁,你是不是配置有问题?

你看下index的头部,namespace是不是写错了,如果是tp6的话,你看看是不是route文件夹没有拉到你新建的文件夹下,和control文件夹平级的