[SELECT COUNT() FROM (SELECT A1.ticket_id
FROM ost_ticket
A1 WHERE A1.thread_count
> 100) __] Unknown column 'A1.thread_count' in 'where clause'<br /> <br /> ---- Backtrace ----<br /> #0 (root)/include/mysqli.php(211): osTicket->logDBError('DB Error #1054', '[SELECT COUNT(...')<br /> #1 (root)/include/class.orm.php(3482): db_query('SELECT COUNT(*)...', true, true)<br /> #2 (root)/include/class.orm.php(3538): MySqlExecutor->execute()<br /> #3 (root)/include/class.orm.php(2964): MySqlExecutor->getRow()<br /> #4 (root)/include/class.orm.php(1381): MySqlCompiler->compileCount(Object(QuerySet))<br /> #5 (root)/include/class.search.php(910): QuerySet->count()<br /> #6 (root)/include/class.search.php(1012): SavedQueue->getTotal()<br /> #7 (root)/include/ajax.search.php(398): SavedQueue::counts(Object(StaffSession), true, Array)<br /> #8 (root)/include/class.dispatcher.php(153): SearchAjaxAPI->collectQueueCounts()<br /> #9 (root)/include/class.dispatcher.php(40): UrlMatcher->dispatch('counts', Array)<br /> #10 (root)/include/class.dispatcher.php(119): Dispatcher->resolve('counts', Array)<br /> #11 (root)/include/class.dispatcher.php(40): UrlMatcher->dispatch('/queue/counts', NULL)<br /> #12 (root)/scp/ajax.php(327): Dispatcher->resolve('/queue/counts')<br /> #13 {main}
Team,
I am recently seeing more of this DB errors popping in , can you help me understand what the issue is here.
I see there is no column thread_count in ost_ticket, how do I fix this issue?