My setup is php 8.1, TYPO3 12.4.10 composer mode, ldap 3.5.1.
When I try to login into the backend an TypeError exception is thrown. Here is the message from the TYPO3 log:
[CRITICAL] request="745e58909916e" component="TYPO3.CMS.Core.Error.ProductionExceptionHandler": Core: Exception handler (WEB: BE): TypeError, code #0, file /vendor/normanseibert/ldap/Classes/Domain/Model/LdapUser/LdapBeUser.php, line 45: Cannot assign NormanSeibert\Ldap\Domain\Model\LdapUser\LdapFeGroup to property NormanSeibert\Ldap\Domain\Model\LdapUser\LdapBeUser::$groupObject of type NormanSeibert\Ldap\Domain\Model\LdapUser\LdapBeGroup
In Classes/Domain/Model/LdapUser/LdapBeUser.php in line 45 it should be:
$this->groupObject = new LdapBeGroup();
instead of:
$this->groupObject = new LdapFeGroup();
Hello,
My setup is php 8.1, TYPO3 12.4.10 composer mode, ldap 3.5.1. When I try to login into the backend an TypeError exception is thrown. Here is the message from the TYPO3 log:
[CRITICAL] request="745e58909916e" component="TYPO3.CMS.Core.Error.ProductionExceptionHandler": Core: Exception handler (WEB: BE): TypeError, code #0, file /vendor/normanseibert/ldap/Classes/Domain/Model/LdapUser/LdapBeUser.php, line 45: Cannot assign NormanSeibert\Ldap\Domain\Model\LdapUser\LdapFeGroup to property NormanSeibert\Ldap\Domain\Model\LdapUser\LdapBeUser::$groupObject of type NormanSeibert\Ldap\Domain\Model\LdapUser\LdapBeGroup
In Classes/Domain/Model/LdapUser/LdapBeUser.php in line 45 it should be:$this->groupObject = new LdapBeGroup();
instead of:$this->groupObject = new LdapFeGroup();
Best regards, Tobias