Drupal 8安装simple_oauth模块后出错,失败


The website encountered an unexpected error. Please try again later.
Error: Class 'Drupalsimple_oauthHttpMiddlewareBasicAuthSwap' not found in DrupalComponentDependencyInjectionContainer->createService() (line 259 of core/lib/Drupal/Component/DependencyInjection/Container.php).
DrupalComponentDependencyInjectionContainer->createService(Array, 'simple_oauth.http_middleware.basic_auth_swap') (Line: 173)
DrupalComponentDependencyInjectionContainer->get('simple_oauth.http_middleware.basic_auth_swap', 1) (Line: 434)
DrupalComponentDependencyInjectionContainer->resolveServicesAndParameters(Array) (Line: 237)
DrupalComponentDependencyInjectionContainer->createService(Array, 'http_middleware.session') (Line: 173)
DrupalComponentDependencyInjectionContainer->get('http_middleware.session', 1) (Line: 434)
DrupalComponentDependencyInjectionContainer->resolveServicesAndParameters(Array) (Line: 237)
DrupalComponentDependencyInjectionContainer->createService(Array, 'http_middleware.kernel_pre_handle') (Line: 173)
DrupalComponentDependencyInjectionContainer->get('http_middleware.kernel_pre_handle', 1) (Line: 434)
DrupalComponentDependencyInjectionContainer->resolveServicesAndParameters(Array) (Line: 237)
DrupalComponentDependencyInjectionContainer->createService(Array, 'http_middleware.page_cache') (Line: 173)
DrupalComponentDependencyInjectionContainer->get('http_middleware.page_cache', 1) (Line: 434)
DrupalComponentDependencyInjectionContainer->resolveServicesAndParameters(Array) (Line: 237)
DrupalComponentDependencyInjectionContainer->createService(Array, 'http_middleware.reverse_proxy') (Line: 173)
DrupalComponentDependencyInjectionContainer->get('http_middleware.reverse_proxy', 1) (Line: 434)
DrupalComponentDependencyInjectionContainer->resolveServicesAndParameters(Array) (Line: 237)
DrupalComponentDependencyInjectionContainer->createService(Array, 'http_middleware.negotiation') (Line: 173)
DrupalComponentDependencyInjectionContainer->get('http_middleware.negotiation', 1) (Line: 434)
DrupalComponentDependencyInjectionContainer->resolveServicesAndParameters(Array) (Line: 237)
DrupalComponentDependencyInjectionContainer->createService(Array, 'http_kernel') (Line: 173)
DrupalComponentDependencyInjectionContainer->get('http_kernel') (Line: 1401)
DrupalCoreDrupalKernel->getHttpKernel() (Line: 708)
DrupalCoreDrupalKernel->handle(Object) (Line: 19)

我试图安装一个模块,但它出现了致命错误。我现在无法访问该网站。该模块被称为simple_oauth。Drush不会工作,因为我还没有建立数据库,至少我认为我没有。我使用ddev来设置我的环境

-将php.ini更改为更高的内存限制。使用php--ini查找位置,确保它是否有另一个文件memory_allocate_php.ini或类似文件,也可以编辑将memory_limit更改为1028M或-1(无限(。

相关内容

最新更新