Hello (sorry for my poor english)
when a agent create a ticket we have an internal error

we are un debian 10.13 , php 8.1, apache 2.4

and we have found this in apache log
[Mon Dec 05 15:28:48.852161 2022] [proxy_fcgi:error] [pid 7324] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Object of class StaffLDAPAuthentication could not be converted to string in /var/www/osTicket/include/class.auth.php:422\nStack trace:\n#0 /var/www/osTicket/include/class.auth.php(422): array_unique()\n#1 /var/www/osTicket/include/ajax.users.php(296): AuthenticationBackend::getSearchDirectories()\n#2 /var/www/osTicket/include/ajax.users.php(288): UsersAjaxAPI::addUser()\n#3 /var/www/osTicket/include/class.dispatcher.php(153): UsersAjaxAPI->lookup()\n#4 /var/www/osTicket/include/class.dispatcher.php(40): UrlMatcher->dispatch()\n#5 /var/www/osTicket/include/class.dispatcher.php(122): Dispatcher->resolve()\n#6 /var/www/osTicket/include/class.dispatcher.php(40): UrlMatcher->dispatch()\n#7 /var/www/osTicket/scp/ajax.php(326): Dispatcher->resolve()\n#8 {main}\n thrown in /var/www/osTicket/include/class.auth.php on line 422', referer: https://osticket.gie-entras.fr/scp/tickets.php?a=open
could you help me