- Status changed to Fixed
over 1 year ago 9:14am 22 August 2023
Would like to remove the langcode settings to fr.
With fr defined we needed to added a language setting for french under:
/admin/config/regional/language
Getting exception when modules, like Webform, make calls to:
getNativeLanguages() in web/core/modules/language/src/ConfigurableLanguageManager.php
This in turn makes a call to ::load with a langcode of en, which returns null.
$natives[$langcode] = ConfigurableLanguage::load($langcode);
Next a call to Language::sort($natives); throws an exception with the en value set to null.
Remove references to langcode fr.
Provided a patch to address this. Needs to be reviewed.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.