OS Ticket Version: 1.17.4
Web Server: IIS
MySQL Version: 5.7.41
PHP Version: 8.0.21
I've been having a problem since Thursday in that ticket contents are no longer being shown and instead a "deleted by message" presumably from a previous unrelated action is being displayed.
I enclose a screenshot of a new test ticket created today by me. Notice that the "deleted by" line has last Thursday's date (5 days before i created the ticket). There should be visible content in that ticket body. This is happening for all tickets since last Thursday.
I get nothing in the "System Logs" even with log level set to Debug.
The PHP log has some stuff in it. The first two i suspect are information rather than errors (as it looks like XMLRPC isn't available for PHP8 anyway, but i include it incase:
[19-Aug-2024 10:59:05 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'php_xmlrpc.dll' (tried: C:\Program Files\PHP\v8.0.21\ext\php_xmlrpc.dll (The specified module could not be found), C:\Program Files\PHP\v8.0.21\ext\php_php_xmlrpc.dll.dll (The specified module could not be found)) in Unknown on line 0
[19-Aug-2024 11:00:00 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'php_gd2.dll' (tried: C:\Program Files\PHP\v8.0.21\ext\php_gd2.dll (The specified module could not be found), C:\Program Files\PHP\v8.0.21\ext\php_php_gd2.dll.dll (The specified module could not be found)) in Unknown on line 0
[19-Aug-2024 11:00:52 UTC] PHP Fatal error: Uncaught ObjectNotUnique: One object was expected; however multiple objects in the database matched the query. In fact, there are 2 matching objects. in [Redacted]\osticket\include\class.orm.php:1364
Stack trace:
#0 [Redacted]\osticket\include\class.orm.php(606): QuerySet->one()
#1 [Redacted]\osticket\include\class.orm.php(381): VerySimpleModel::lookup()
#2 [Redacted]\osticket\include\class.orm.php(417): VerySimpleModel->get()
#3 [Redacted]\osticket\include\class.thread.php(1122): VerySimpleModel->__get()
#4 [Redacted]\osticket\include\class.thread_actions.php(29): ThreadEntry->getEmailHeader()
#5 [Redacted]\osticket\include\class.thread.php(1839): TEA_ShowEmailRecipients->isVisible()
#6 [Redacted]\osticket\include\class.thread.php(1850): ThreadEntry->getActions()
#7 [Redacted]\osticket\include\staff\templates\thread-entry.tmpl.php(27): ThreadEntry->hasActions()
#8 [Redacted]\osticket\include\staff\templates\thread-entries.tmpl.php(58): include('...')
#9 [Redacted]\osticket\include\class.thread.php(415): include('...')
#10 [Redacted]\osticket\include\staff\ticket-view.inc.php(777): Thread->render()
#11 [Redacted]\osticket\scp\tickets.php(569): require_once('...')
#12 {main}
thrown in [Redacted]\osticket\include\class.orm.php on line 1364
Any thoughts?