The Log gets spammed by Core: Error handler (FE): PHP Warning: Undefined global variable $LANG in ......../typo3conf/ext/friendlycaptcha_official/Classes/FieldValidator/PowermailValidator.php line 81
could not really debug, because it's the localized error message for bots
possible solution:
PHP 8.2.18 TYPO3 11.5.38
The Log gets spammed by Core: Error handler (FE): PHP Warning: Undefined global variable $LANG in ......../typo3conf/ext/friendlycaptcha_official/Classes/FieldValidator/PowermailValidator.php line 81
could not really debug, because it's the localized error message for bots possible solution:
return $GLOBALS['LANG'] ?? GeneralUtility::makeInstance(LanguageService::class);
or