I just did a fresh install of osTicket 1.17 on Ubuntu 22.04, php 8.1, Apache and mysql.
Installed and setup the LDAP plugin, when trying to login as a client, I get the following.

And this is the error in the apache log:
[Tue Oct 18 16:10:00.625225 2022] [proxy_fcgi:error] [pid 24159] [client 68.110.3.78:53308] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to undefined method PEAR_Error::getValue() in phar:///srv/osTicket/upload/include/plugins/auth-ldap.phar/authentication.php:265\nStack trace:\n#0 phar:///srv/osTicket/upload/include/plugins/auth-ldap.phar/authentication.php(193): LDAPAuthentication->getSchema()\n#1 phar:///srv/osTicket/upload/include/plugins/auth-ldap.phar/authentication.php(479): LDAPAuthentication->authenticate()\n#2 /srv/osTicket/upload/include/class.auth.php(341): ClientLDAPAuthentication->authenticate()\n#3 /srv/osTicket/upload/login.php(51): AuthenticationBackend::process()\n#4 {main}\n thrown in phar:///srv/osTicket/upload/include/plugins/auth-ldap.phar/authentication.php on line 265', referer: https://osticket.hladmc.com/login.php
I have looked through all the other posts about LDAP and none give this error.
Here is the install info:
