我正在尝试将一个drupal 8项目推入生产环境,但是我遇到了以下所述的错误。
The website encountered an unexpected error. Please try again later.
Symfony\Component\DependencyInjection\Exception\InvalidArgumentException: The service file "core/core.services.yml" is not valid. in Drupal\Core\DependencyInjection\YamlFileLoader->loadFile() (line 329 of /usr/www/users/playsgwjrd/web/core/lib/Drupal/Core/DependencyInjection/YamlFileLoader.php).
我尝试运行build.php,删除了锁作曲家文件和供应商文件夹,但什么也没有。
Drupal\Core\DependencyInjection\YamlFileLoader->loadFile('core/core.services.yml') (Line: 63)
Drupal\Core\DependencyInjection\YamlFileLoader->load('core/core.services.yml') (Line: 1316)
Drupal\Core\DrupalKernel->compileContainer() (Line: 920)
Drupal\Core\DrupalKernel->initializeContainer() (Line: 476)
Drupal\Core\DrupalKernel->boot() (Line: 692)
Drupal\Core\DrupalKernel->handle(Object) (Line: 23)
请提出解决错误的方法。
请检查以下URL中的解决方案是否有帮助。您将需要应用补丁: