Bug #86390
Updated by Alexander Opitz about 6 years ago
While calling backend login (/typo3) I get following: <pre> Return value of TYPO3\CMS\Core\ExpressionLanguage\RequestWrapper::getSite() must be an instance of TYPO3\CMS\Core\Site\Entity\Site or null, instance of TYPO3\CMS\Core\Site\Entity\NullSite returned </pre> TYPO3: 9.4.0 TypoScript <pre> // First foreign language: [site("languageId") == 1] config { language = en locale_all = en_GB.utf8 sys_language_uid = 1 } [global] // Second foreign language: [site("languageId") == 2] config { language = fr locale_all = fr_FR.utf8 sys_language_uid = 2 } [global] </pre> BTW: Using "sites" this TypoScript is a bit stupid ... and the correct condition is [siteLanguage("languageId") == 1]...[end]