Closed agendartobias closed 3 years ago
Quickfix:
Change lines 354 and following ...
/**
* Returns the LanguageService.
*
* @return \TYPO3\CMS\Core\Localization\LanguageService|null
*/
protected function getLanguageService(): ?\TYPO3\CMS\Core\Localization\LanguageService
{
return $GLOBALS['LANG'] ?? null;
}
Duplicate of #101
Hey, when i try to add scheduler task for sync AD users i get this PHP error:
Fatal error: Declaration of Causal\IgLdapSsoAuth\Task\ImportUsers::getLanguageService() must be compatible with TYPO3\CMS\Scheduler\Task\AbstractTask::getLanguageService(): ?TYPO3\CMS\Core\Localization\LanguageService in C:\wamp64\www\htdocs\typo3conf\ext\ig_ldap_sso_auth\Classes\Task\ImportUsers.php on line 33
I am using TYPO3 10.4.4 and ig_ldap_sso_auth 3.5.1
Can anyone help?