I've now created a sandbox instance with a copy of the 1.18.1 code and a copy of the mariadb.
The sandbox is running the same php-fpm configured using the same php.ini file on the same server. There are 2 additional data bases set up on the same mariadb server as the live one to make sure all the db settings are the same.
Running 1.18.2 new install code against a new empty DB works and i can create tickets, view ticket queues and view admin pages which to me says that the server os etc is compatible with OSTicket 1.18.2
Running 1.18.2 new install code against a copy of the original DB works fine for the admin panel but times out when viewing ticket queues with the error
[Tue Jul 15 16:39:34.813572 2025] [proxy_fcgi:error] [pid 952921] [client xxx.xxx.xxx.xxx:52056] AH01071: Got error 'PHP message: PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 8192 bytes) in /var/www/tickets/include/class.orm.php on line 3501', referer: https://tickets.mydomain.com/scp/login.php
So it would appear that the database connection is working but that there is either a configuration issue or content in the DB that it stopping the page from loading for the query from returning any data.
originally the memory_limit in the fph_php php.ini was set to 128M but I changed that to 1024M , restarted the apache and fpm service, checked the change was in place using phpinfo() but the error persisted, just the numbers were different.
The code in class.orm.php and around line 3501 looks to be the same in both 1.18.1 and 1.18.2
Running 1.18.1 code against the the new DB works and i can create tickets, view ticket queues and view admin pages
Running 1.18.1 code against a copy of the original DB works
So it would appear there is an issue in my live database that is stopping the new code base loading agent pages/ticket queues
Any hints on how to identify the issue/resolve it would be greatly appreciated
CJ