Syntax error, unexpected token AND, near to ' parent = '0' ORDER BY id DESC', when parsing: SELECT [Nubati\Models\Tickets].* FROM [Nubati\Models\Tickets] WHERE owner = AND parent = '0' ORDER BY id DESC (110)
#0 [internal function]: Phalcon\Mvc\Model\Query->parse()
#1 [internal function]: Phalcon\Mvc\Model\Query->execute()
#2 /usr/local/lsws/Example/html/app/controllers/PanelController.php(811): 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 /usr/local/lsws/Example/html/public/index.php(42): Phalcon\Mvc\Application->handle()
#7 {main}