Custom Field Issue Saving Contact

Your software MAutic 4.4.5
My PHP version is : 7.4.33
*My MySQL: MySQL

Try to update a contact, using a custom field that has been working fine called ‘Groups’, multi select field.

These errors are showing:

500 Internal Server Error

These errors are showing in the Mautic log : [2024-06-19 14:56:55] mautic.CRITICAL:

Uncaught PHP Exception Doctrine\DBAL\Exception: “An exception occurred while executing ‘UPDATE leads SET groups = ? WHERE id = ?’ with params [null, “11422”]: syntax error, unexpected ‘public’ (T_PUBLIC), expecting end of file” at /home/customer/www/domain_name/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php line 185 {“exception”:“[object] (Doctrine\DBAL\Exception(code: 0): An exception occurred while executing ‘UPDATE leads SET groups = ? WHERE id = ?’ with params [null, "11422"]:\n\nsyntax error, unexpected ‘public’ (T_PUBLIC), expecting end of file at /home/customer/www/domain_name/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php:185, ParseError(code: 0): syntax error, unexpected ‘public’ (T_PUBLIC), expecting end of file at /home/customer/www/domain_name/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php:22)”} {“hostname”:“hostname”,“pid”:20629}

Your problem
My problem is : Not able to save, when update that field in the contact.
Thanks for any help