You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched for a while to find out where and when $GLOBALS['LANG'] will be defined. It is only available in backend context and in some CLI commands, but for frontend usage I found following line in TYPO3 core:
Hello,
following line breaks as $GLOBALS['LANG'] is not defined:
direct_mail/Classes/SelectCategories.php
Line 85 in 944392c
I have searched for a while to find out where and when $GLOBALS['LANG'] will be defined. It is only available in backend context and in some CLI commands, but for frontend usage I found following line in TYPO3 core:
https://github.com/TYPO3/typo3/blob/main/typo3/sysext/core/Classes/Localization/LanguageService.php#L29-L30
So, please check if $GLOBALS['LANG'] is available first and/or initialize it on your own.
Thank you for your work
Stefan
The text was updated successfully, but these errors were encountered: