Syntax error, unexpected token AND, near to ' parent = '0' ORDER BY id DESC', when parsing: SELECT [Nubati\Models\Tickets].* FROM [Nubati\Models\Tickets] WHERE user_id = AND parent = '0' ORDER BY id DESC (112)
#0 [internal function]: Phalcon\Mvc\Model\Query->parse()
#1 [internal function]: Phalcon\Mvc\Model\Query->execute()
#2 /home/wamoafbo/public_html/app/controllers/PanelController.php(720): Phalcon\Mvc\Model::find(Array)
#3 [internal function]: Nubati\Controllers\PanelController->ticketsAction()
#4 [internal function]: Phalcon\Dispatcher->callActionMethod(Object(Nubati\Controllers\PanelController), 'ticketsAction', Array)
#5 [internal function]: Phalcon\Dispatcher->dispatch()
#6 /home/wamoafbo/public_html/public/index.php(42): Phalcon\Mvc\Application->handle()
#7 {main}