hi, i have a issue and cant create a ticket i have this erro
Mon Sep 02 15:08:43.996282 2019] [php7:error] [pid 4664:tid 1664] [client 192.168.1.191:64763] 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 C:\xampp\htdocs\DGCySEP\upload\include\class.orm.php:1355\nStack trace:\n#0 C:\xampp\htdocs\DGCySEP\upload\include\class.orm.php(606): QuerySet->one()\n#1 C:\xampp\htdocs\DGCySEP\upload\include\class.thread.php(3031): VerySimpleModel::lookup(Array)\n#2 C:\xampp\htdocs\DGCySEP\upload\include\class.orm.php(381): ObjectThread::lookup(Array)\n#3 C:\xampp\htdocs\DGCySEP\upload\include\class.orm.php(417): VerySimpleModel->get('thread', NULL)\n#4 C:\xampp\htdocs\DGCySEP\upload\include\class.ticket.php(793): VerySimpleModel->__get('thread')\n#5 C:\xampp\htdocs\DGCySEP\upload\include\class.ticket.php(3023): Ticket->getThread()\n#6 C:\xampp\htdocs\DGCySEP\upload\include\class.ticket.php(3870): Ticket->logEvent('created', NULL, Object(User))\n#7 C:\xampp\htdocs\DGCySEP\upload\open.php(42): Ticket::create(Array, Array, 'Web')\n#8 {main}\n thrown in C:\xampp\htdocs\DGCySEP\upload\include\class.orm.php on line 1355, referer: http://192.168.1.8:4040/DGCySEP/upload/tickets.php

@harpischord

It's saying you have a duplicate Thread record. Go to your database, look at all the ost_thread records and try to find the duplicate. You can delete one of the duplicates or fix it if you'd like.

This can happen for many reasons (most if not all of them being glitches) so I'm going to chalk this one up as an anomaly. 🔮🌟

Cheers.

Write a Reply...