Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After update some (old/new) tickets not open (blank) or open partially #5775

Closed
chumayu opened this issue Jan 21, 2021 · 2 comments
Closed

Comments

@chumayu
Copy link

chumayu commented Jan 21, 2021

Log:

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 /home1/path/public_html/
Stack trace:
#0 /home1/path/include/class.orm.php(606): QuerySet->one()
#1 /home1/path/include/staff/templates/thread-entries.tmpl.php(37): VerySimpleModel::lookup(Array)
#2 /home1/path/include/class.thread.php(415): include('/home1/alphatmn...')
#3 /home1/path/include/staff/ticket-view.inc.php(773): Thread->render(Array, Array)
#4 /home1/path/scp/tickets.php(560): require_once('/home1/alphatmn...')
#5 {main}
thrown in /home1/path/include/class.orm.php on line 1363

In attachment you can see how look like ticket
firefox_2021-01-21_14-29-11

I try install on another hosting (make backup database and website files) same.

Additional info
osTicket Version | v1.15.1 (fe1d1f8)
Web Server Software | Apache
MySQL Version | 5.7.23
PHP Version | 7.4.14

UPD #2:
BUT, when via "Thread preview" check corrupted ticket - show him correctly.

@chumayu chumayu changed the title After update some (old/new) not open (blank) or open partially After update some (old/new) tickets not open (blank) or open partially Jan 21, 2021
@JediKev
Copy link
Contributor

JediKev commented Jan 21, 2021

@chumayu

Please review this thread as it contains your exact problem with a resolution:

Cheers.

@chumayu
Copy link
Author

chumayu commented Jan 21, 2021

@JediKev

That help, thx man.

@chumayu chumayu closed this as completed Jan 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants