PhalconException : happened in Phalcon\Mvc\Model\Exception class
ExceptionMessage : Syntax error, unexpected token LIMIT, near to ' :APL0:', when parsing: SELECT [Apps\Commons\Models\FinanceBalance].* FROM [Apps\Commons\Models\FinanceBalance] WHERE uid= LIMIT :APL0: (111)
File=/srv/www/dayinpai/apps/commons/models/FinanceBalance.php Line=25

#0 [internal function]: Phalcon\Mvc\Model\Query->parse()
#1 [internal function]: Phalcon\Mvc\Model\Query->execute()
#2 /srv/www/dayinpai/apps/commons/models/FinanceBalance.php(25): Phalcon\Mvc\Model::findFirst('uid=')
#3 /srv/www/dayinpai/apps/frontend/controllers/PersonController.php(48): Apps\Commons\Models\FinanceBalance->getBalance(NULL)
#4 [internal function]: Apps\Frontend\Controllers\PersonController->indexAction()
#5 [internal function]: Phalcon\Dispatcher->callActionMethod(Object(Apps\Frontend\Controllers\PersonController), 'indexAction', 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}