PhalconException : happened in Phalcon\Mvc\Model\Exception class
ExceptionMessage : Syntax error, unexpected token ORDER, near to ' BY id desc LIMIT :APL0: OFFSET :APL1:', when parsing: SELECT [Apps\Commons\Models\GpPost].* FROM [Apps\Commons\Models\GpPost] WHERE status=1 and uid = ORDER BY id desc LIMIT :APL0: OFFSET :APL1: (143)
File=/srv/www/dayinpai/apps/commons/models/GpPost.php Line=110

#0 [internal function]: Phalcon\Mvc\Model\Query->parse()
#1 [internal function]: Phalcon\Mvc\Model\Query->execute()
#2 /srv/www/dayinpai/apps/commons/models/GpPost.php(110): Phalcon\Mvc\Model::find(Array)
#3 /srv/www/dayinpai/apps/frontend/controllers/PersonController.php(525): Apps\Commons\Models\GpPost->getList(Array)
#4 [internal function]: Apps\Frontend\Controllers\PersonController->articlesAction()
#5 [internal function]: Phalcon\Dispatcher->callActionMethod(Object(Apps\Frontend\Controllers\PersonController), 'articlesAction', Array)
#6 [internal function]: Phalcon\Dispatcher->_dispatch()
#7 [internal function]: Phalcon\Dispatcher->dispatch()
#8 /srv/www/dayinpai/public/index.php(82): Phalcon\Mvc\Application->handle()
#9 {main}