nseibert / ldap

LDAP Extension for TYPO3 CMS
3 stars 3 forks source link

TypeError exception in Classes/Domain/Model/LdapUser/LdapBeUser.php #31

Open tobiasschaeferptb opened 8 months ago

tobiasschaeferptb commented 8 months ago

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