Serverinformationen

osTicket-Version

v1.10.1 (9ae093d)

— Aktuell

Server-Software

Microsoft-IIS/8.5

MySQL-Version

5.7.9

PHP-Version

5.6.31Hi guys i have just upgraded my osticket installation.I have a Problem when i want to open a new Ticket from Customer Site i get a blank page and the php Error is this: PHP Fatal error:  Uncaught exception 'ObjectNotUnique' with message 'One object was expected; however multiple objects in the database matched the query. In fact, there are 2 matching objects.' in C:\inetpub\wwwroot\bnet\include\class.orm.phpStack trace:#0 C:\inetpub\wwwroot\bnet\include\class.orm.php(545): QuerySet->one()#1 C:\inetpub\wwwroot\bnet\include\class.list.php(297): VerySimpleModel:(Array)#2 C:\inetpub\wwwroot\bnet\include\class.list.php(384): DynamicList->getConfigurationForm(true)#3 C:\inetpub\wwwroot\bnet\include\class.dynamic_forms.php(1597): DynamicList->getForm()#4 C:\inetpub\wwwroot\bnet\include\class.dynamic_forms.php(534): SelectionField->hasSubFields()#5 C:\inetpub\wwwroot\bnet\include\class.filter.php(308): Bootstrap::{closure}()#6 C:\inetpub\wwwroot\bnet\include\class.filter.php(321): Filter:()#7 C:\inetpub\wwwroot\bnet\include\class.filter.php(711): Filter:()#8 C:\inetpub\wwwroot\bnet\include\class.ticket.php(3041): TicketFilter->__constr in C:\inetpub\wwwroot\bnet\include\class.orm.php on line 1176 PHP Fatal error:  Uncaught exception 'ObjectNotUnique' with message 'One object was expected; however multiple objects in the database matched the query. In fact, there are 2 matching objects.' in C:\inetpub\wwwroot\bnet\include\class.orm.phpStack trace:#0 C:\inetpub\wwwroot\bnet\include\class.orm.php(545): QuerySet->one()#1 C:\inetpub\wwwroot\bnet\include\class.list.php(297): VerySimpleModel:(Array)#2 C:\inetpub\wwwroot\bnet\include\class.list.php(384): DynamicList->getConfigurationForm(true)#3 C:\inetpub\wwwroot\bnet\include\class.dynamic_forms.php(1597): DynamicList->getForm()#4 C:\inetpub\wwwroot\bnet\include\class.dynamic_forms.php(534): SelectionField->hasSubFields()#5 C:\inetpub\wwwroot\bnet\include\class.filter.php(308): Bootstrap::{closure}()#6 C:\inetpub\wwwroot\bnet\include\class.filter.php(321): Filter:()#7 C:\inetpub\wwwroot\bnet\include\class.filter.php(711): Filter:()#8 C:\inetpub\wwwroot\bnet\include\class.ticket.php(3041): TicketFilter->__constr in C:\inetpub\wwwroot\bnet\include\class.orm.php on line 1176i deactivated all Ticket Filters but it is still not working.Has anybody an idea what the issue could be?

PHP Fatal error:  Uncaught exception 'ObjectNotUnique' with message 'One object was expected; however multiple objects in the database matched the query. In fact, there are 2 matching objects.' in C:\inetpub\wwwroot\bnet\include\class.orm.phpIf you go look at that code you'll see that it has to do with lists.  So its saying that its looking for a list form via ost_form table and its finding more than one result with the same time.  This is a known bug where the List Form IDs behave incorrectly and will sometimes re-use an type of a List that’s been de-activated/deleted.  If you go look at the table you should see multiple lists with the same id.  Just delete the extras.

As a side note  If you are leary about deleting things you could alternatively change the type field to be something insanely high.  Like L1000 or something.

Write a Reply...