Recently installed version 1.14.1 of OSTicket. Used PHP7.3 and apache, per documentation. We receive a strange error when attempting to close some tickets. I cannot seem to find any relation between the tickets we have had this error with. Initially, the first one had a large number of images in it, so I assumed it was having trouble parsing those images. I had since denied use of images, and have received the same error. Basically, I'll go to close a ticket, and it will time out giving me a generic 504 Gateway Time-out error in the browser window. When I "tail ... apache2/error.log", I receive the following error...
PHP Fatal error: Maximum execution time of 60 seconds exceeded in /var/www/html/upload/include/class.schedule.php on line 770
I initially received an error of PHP running out of memory, so I upped the default memory and the error changed to timeout after 30 seconds, per a thread I saw about a similar issue that went unresolved. I upped the execution time to 60 seconds (next obvious troubleshooting step), but it appears something is hanging. Any suggestions of where to look next? 90% (or more) of our tickets close correctly, and we don't have any issues with them. But these 2 for some reason are not closing correctly and I cannot find any correlation between the two of them.
Edit: I did not mention, OSTicket is running on bare metal install, Debian latest release.
Also, I have all suggested PHP extensions installed and configured. The only warning I was getting on the "about" page of OSTicket were regarding PHP settings...
PHP Settings
cgi.fix_pathinfo "1" is recommended if AJAX is not working <---- I changed to one, but it did not take effect.
date.timezone America/New_York <--- I recently added the time zone.