Open mkormendy opened 3 years ago
for what it's worth, in php 8.1 this is now a fatal error. Thanks for linking the patch, @mkormendy applying that change to line 2267 in the latest file fixed the fatal.
PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported in /var/www/example.com/htdocs/wp-content/plugins/simple-ldap-login/includes/adLDAP.php on line 2267
Fatal error: Array and string offset access syntax with curly braces is no longer supported in /var/www/example.com/htdocs/wp-content/plugins/simple-ldap-login/includes/adLDAP.php on line 2267
Subject says all, see pull request #62 for fix. Tested on PHP 7.4.12 but should work all the way back to before PHP 5.1 (2008) when the deprecation warning was initially intended.