Hello Everyone,
Yesterday I attempted an upgrade on my osTicket v1.9.12. Details:

I did a mySQL dump and all went well. I upgraded the OS to 16.0.4 and installed osTicket v1.14.2:

I restored the mySQL database and I can see all my tickets and everything. When I try to assign a ticket to someone, I get stuck on Loading with PHP error:
PHP Fatal error: Call to a member function getState() on string in /var/www/html/osticket/include/class.ticket.php on line 595, referer: http://192.168.253.20/osticket/scp/tickets.php?id=45649

When I log a new ticket as a posing customer, I get HTTP error 500 with PHP error:
PHP Fatal error: Call to a member function getState() on string in /var/www/html/osticket/include/class.ticket.php on line 595, referer: http://192.168.253.20/osticket/open.php

I did a PHP7.2 update to test if PHP5.6 was my problem, but only change in error was:
PHP Fatal error: Uncaught error: call to a member function hasperm() on string in /var/www/html/osticket/include/class.ticket.php on line 595, referer: http://192.168.253.20/osticket/scp/tickets.php?id=45649
Any ideas what on earth I have done?
Thank you 🙂