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\Model].* FROM [Apps\Commons\Models\Model] WHERE 1=1 and checked= 2 and uid = ORDER BY id desc LIMIT :APL0: OFFSET :APL1: (149)
File=/srv/www/dayinpai/apps/commons/models/Model.php Line=726

#0 [internal function]: Phalcon\Mvc\Model\Query->parse()
#1 [internal function]: Phalcon\Mvc\Model\Query->execute()
#2 /srv/www/dayinpai/apps/commons/models/Model.php(726): Phalcon\Mvc\Model::find(Array)
#3 /srv/www/dayinpai/apps/frontend/controllers/PersonController.php(483): Apps\Commons\Models\Model->getMyList(Array)
#4 [internal function]: Apps\Frontend\Controllers\PersonController->modelsAction()
#5 [internal function]: Phalcon\Dispatcher->callActionMethod(Object(Apps\Frontend\Controllers\PersonController), 'modelsAction', 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}