I broke my osTicket installation comprehensively yesterday by upgrading from 1.14.3 to 1.15.4. Turns out we were using PHP 5.6 with 1.14 which 1.15 didn't like. I've got PHP7.2 almost fully working but errors are thrown when someone tries to log in.
Unfortunately I can't log in with a local user, as it seems to try LDAP with the local administrator user rather than the local database, so I can't see if it's LDAP details that are wrong or something else. The only error I've been able to find is in the apache error log in /var/log/apache2/error.log and is as follows:
[Wed Feb 02 10:50:06.634036 2022] [php7:notice] [pid 7611] [client 129.67.111.103:51482] PHP Fatal error: Uncaught Error: Call to a member function bind() on null in phar:///var/www/html/osticket/include/plugins/auth-ldap.phar/authentication.php:223\nStack trace:\n#0 phar:///var/www/html/osticket/include/plugins/auth-ldap.phar/authentication.php(430): LDAPAuthentication->authenticate('<redacted>','<redacted>')\n#1 /var/www/html/osticket/include/class.auth.php(249): StaffLDAPAuthentication->authenticate('<redacted>', '<redacted>')\n#2 /var/www/html/osticket/scp/login.php(72): AuthenticationBackend::process('<redacted>', '<redacted>', Array)\n#3 {main}\n thrown in phar:///var/www/html/osticket/include/plugins/auth-ldap.phar/authentication.php on line 223, referer: https://tickets.new.ox.ac.uk/scp/login.php
Any idea what's up? I requested the LDAP authentication plugin (amongst others) when getting my download from osticket.com.