Syntax error, unexpected token AND, near to ' published = 1 AND is_deleted = 0 ORDER BY publish_date DESC LIMIT :APL0:', when parsing: SELECT [NewsItems].* FROM [NewsItems] WHERE id != AND published = 1 AND is_deleted = 0 ORDER BY publish_date DESC LIMIT :APL0: (127)
#0 [internal function]: Phalcon\Mvc\Model\Query->parse()
#1 [internal function]: Phalcon\Mvc\Model\Query->execute()
#2 /var/www/html/app/models/NewsItems.php(258): Phalcon\Mvc\Model::find(Array)
#3 /var/www/html/app/controllers/NewsItemsController.php(55): NewsItems::find(Array)
#4 [internal function]: NewsItemsController->displayAction('PeterBestInsura...', 'quote', 'newquote.aspx')
#5 [internal function]: Phalcon\Dispatcher->callActionMethod(Object(NewsItemsController), 'displayAction', Array)
#6 [internal function]: Phalcon\Dispatcher->dispatch()
#7 /var/www/html/public/index.php(42): Phalcon\Mvc\Application->handle()
#8 {main}