Project

General

Profile

Bug #99337

Updated by Alex Kellner almost 2 years ago

In TYPO3 12.1.0 a frontend plugin tries to set a flashMessage. This leads to the error: 
 <pre> 
 PHP Warning: Undefined array key "cookieDomain" in .../vendor/typo3/cms-core/Classes/Authentication/AbstractUserAuthentication.php line 350 
 </pre> 

 A cookieDomain is not set in my environment. I'm not sure if this is required in TYPO3 12 now or if this should also work without this configuration. 

 --- 

 For the moment I think of a bug when I follow the code in AbstractUserAuthentication 

 So I just fixed in the file like: 
 <pre> 
 $cookieDomain = $GLOBALS['TYPO3_CONF_VARS']['SYS']['cookieDomain'] ?? ''; 
 </pre>

Back