- Issue created by @zilloww
- 🇨🇭Switzerland zilloww
I fixed this issue by noticing that in the config/install folder of the module, there is a eu_cookie_compliance.settings.yml file that contains the key 'langcode' defaulted to 'en'. Since I don't have English language on my website, Drupal doesn't recognize the langcode 'en'. That's the source of the error.
To fix this:
- Go to your drupal/config/sync
- Open the file "eu_cookie_compliance.settings.yml"
- Add the "langcode: xx" (replace 'xx' by whatever is your default website language for example "langcode: fr"
- drush cim
- Clear cache
- The issue should be fixed
- Status changed to Needs review
9 months ago 7:47am 7 February 2024