Issue Bug Closed

#88045alternativeLanguageKeys is overridden as string

Jan Delius 04/01/19, 13:18 updated 12/23/19, 22:48

Description

The function getLanguageKeys in the Extbase LocalizationUtility resolves the dependency of a language as “alternativeLanguageKeys”. However, the empty array is overwritten by a string instead of supplementing it.

The following error is thrown in the frontend:
_Argument 3 passed to TYPO3\CMS\Extbase\Utility\LocalizationUtility::initializeLocalization() must be of the type array, string given, called in […]/typo3/sysext/extbase/Classes/Utility/LocalizationUtility.php on line 96_

See typo3conf/sysext/extbase/Classes/Utility/LocalizationUtility.php:210

As example language you can use Brazilian Portuguese

Reviews 5