xperseguers / t3ext-ig_ldap_sso_auth

TYPO3 Extension ig_ldap_sso_auth. This extension provides LDAP and SSO support for TYPO3.
https://extensions.typo3.org/extension/ig_ldap_sso_auth
GNU General Public License v3.0
30 stars 74 forks source link

Uncaught TYPO3 Exception: LDAP connection has already been closed | with PHP 8.2.20 #215

Closed medarob closed 1 month ago

medarob commented 1 month ago

We got an exception after updating from PHP 7.4 to 8.2.20.

An external tool in our intranet requests the news rss feed url (which works) but it's logged as an error in the Backend since the PHP update.

Core: Exception handler (WEB): Uncaught TYPO3 Exception: LDAP connection has already been closed | Error thrown in file /var/www/intranet/public/typo3conf/ext/ig_ldap_sso_auth/Classes/Utility/LdapUtility.php in line 213. Requested URL: https://intranet.domain.de/index.php?id=100&type=9818

xperseguers commented 1 month ago

Please check master branch from a few minutes ago and confirm the problem still exists.

h-e-l-l-o-w-o-r-l-d commented 1 month ago

Same error here. I did't test master, but patched the disconnect() function with the code from master. Since then the error is gone and I can definitely confirm that the try/catch (and nothing else) solved it. Thank you!

TYPO3 11.5.40 ig_ldap_sso_auth 3.8 PHP 8.2