[13-Jun-2025 11:05:18 UTC] PHP Fatal error: Uncaught InconsistentModelException: Unable to prepare query: Server shutdown in progress SELECT A1.ticket_id, A1.ticket_pid, A1.number, A1.user_id, A1.user_email_id, A1.status_id, A1.dept_id, A1.sla_id, A1.topic_id, A1.staff_id, A1.team_id, A1.email_id, A1.lock_id, A1.flags, A1.sort, A1.ip_address, A1.source, A1.source_extra, A1.isoverdue, A1.isanswered, A1.duedate, A1.est_duedate, A1.reopened, A1.closed, A1.lastupdate, A1.created, A1.updated, A3.topic_id, A3.topic_pid, A3.ispublic, A3.noautoresp, A3.flags, A3.status_id, A3.priority_id, A3.dept_id, A3.staff_id, A3.team_id, A3.sla_id, A3.page_id, A3.sequence_id, A3.sort, A3.topic, A3.number_format, A3.notes, A3.created, A3.updated, A4.staff_id, A4.dept_id, A4.role_id, A4.username, A4.firstname, A4.lastname, A4.passwd, A4.backend, A4.email, A4.phone, A4.phone_ext, A4.mobile, A4.signature, A4.lang, A4.timezone, A4.locale, A4.notes, A4.isactive, A4.isadmin, A4.isvisible, A4.onvacation, A4.assigned_only, A4.show_assigned_tickets, A4.change_passwd, A4.max_page_size, A4.auto_refresh_rate, A4.default_signature_type, A4.default_paper_size, A4.extra, A4.permissions, A4.created, A4.lastlogin, A4.passwdreset, A4.updated, A4.PatKey, A5.id, A5.org_id, A5.default_email_id, A5.status, A5.name, A5.created, A5.updated, A6.team_id, A6.lead_id, A6.flags, A6.name, A6.notes, A6.created, A6.updated, A7.id, A7.pid, A7.tpl_id, A7.sla_id, A7.schedule_id, A7.email_id, A7.autoresp_email_id, A7.manager_id, A7.flags, A7.name, A7.signature, A7.ispublic, A7.group_membership, A7.ticket_auto_response, A7.message_auto_response, A7.path, A7.updated, A7.created, A8.id, A8.schedule_id, A8.flags, A8.grace_period, A8.name, A8.notes, A8.created, A8.updated, B0.id, B0.object_id, B0.object_type, B0.extra, B0.lastresponse, B0.lastmessage, B0.created, B1.id, B1.object_id, B1.object_type, B1.extra, B1.lastresponse, B1.lastmessage, B1.created, B2.id, B2.user_id, B2.flags, B2.address, A2.id, A2.name, A2.state, A2.mode, A2.flags, A2.sort, A2.properties, A2.created, A2.updated FROM ost_ticket A1 JOIN ost_ticket_status A2 ON (A1.status_id = A2.id) LEFT JOIN ost_help_topic A3 ON (A1.topic_id = A3.topic_id) LEFT JOIN ost_staff A4 ON (A1.staff_id = A4.staff_id) LEFT JOIN ost_user A5 ON (A1.user_id = A5.id) LEFT JOIN ost_team A6 ON (A1.team_id = A6.team_id) LEFT JOIN ost_department A7 ON (A1.dept_id = A7.id) LEFT JOIN ost_sla A8 ON (A1.sla_id = A8.id) LEFT JOIN ost_thread B0 ON (B0.object_type = 'T' AND A1.ticket_id = B0.object_id) LEFT JOIN ost_thread B1 ON (A1.ticket_id = B1.object_id AND B1.object_type = 'C') LEFT JOIN ost_user_email B2 ON (A5.default_email_id = B2.id) WHERE A1.isoverdue = 0 AND A2.state = 'open' AND ((A1.duedate IS NULL AND A1.est_duedate IS NOT NULL AND A1.est_duedate < NOW()) OR (A1.duedate IS NOT NULL AND A1.duedate < NOW())) LIMIT 100 in C:\wamp64\www\ost\include\class.orm.php:3483
Stack trace:
#0 C:\wamp64\www\ost\include\class.orm.php(3538): MySqlExecutor->execute()
#1 C:\wamp64\www\ost\include\class.orm.php(2010): MySqlExecutor->getRow()
#2 C:\wamp64\www\ost\include\class.orm.php(2054): ModelInstanceManager->{closure}()
#3 C:\wamp64\www\ost\include\class.orm.php(2033): CallbackSimpleIterator->next()
#4 C:\wamp64\www\ost\include\class.orm.php(2042): CallbackSimpleIterator->rewind()
#5 C:\wamp64\www\ost\include\class.orm.php(1713): CallbackSimpleIterator->valid()
#6 C:\wamp64\www\ost\include\class.orm.php(1723): CachedResultSet->fillTo(9223372036854775807)
#7 C:\wamp64\www\ost\include\class.orm.php(1739): CachedResultSet->asArray()
#8 C:\wamp64\www\ost\include\class.ticket.php(4803): CachedResultSet->getIterator()
#9 C:\wamp64\www\ost\include\class.cron.php(30): Ticket::checkOverdue()
#10 C:\wamp64\www\ost\include\class.cron.php(111): Cron::TicketMonitor()
#11 C:\wamp64\www\ost\include\api.cron.php(15): Cron::run()
#12 C:\wamp64\www\ost\include\api.cron.php(45): CronApiController->run()
#13 C:\wamp64\www\ost\api\cron.php(23): LocalCronApiController::call()
#14 {main}
thrown in C:\wamp64\www\ost\include\class.orm.php on line 3483