Dears,
First of all these the environment:
osTicket Version: 1.15.8
Web Server: Apache
MySQL Version: 8.0.44
PHP Version: 7.4.33
After around 4 years with no issues , the website started returning HTTP 500 error when i create a ticket & when i close it , but the command will be taken so the ticket will open and will close after i refresh the page but first i get the HTTP 500 error. I realized also that the mail is broken also because we stopped receiving emails from osTicket at the same time.
These are PHP Error Log:
PHP Fatal error: Uncaught Error: Call to a member function getRoot() on string in /include/html2text.php:48
PHP Fatal error: Uncaught Error: Call to undefined method DOMDocument::getAttribute() in /include/html2text.php:303
PHP Parse error: syntax error, unexpected end of file in /include/html2text.php
What could have been changed in order to receive this error? Note that i only control the system and i didn't change anything.
Any Ideas?