Class: Phalcon\Mvc\Model\Exception:

Exception: The column 'postTotal' is ambiguous, when preparing: SELECT FU.id, FU.nickName, FU.sex, FU.avatar, FU.lastLogin, FUP.userId, FUP.createdAt, FUP.authorRate, FUP.valuableRate, FUP.diathesisRate, FUP.legitimateRate, FUP.postTotal, FUP.voteTotal, FUP.getVotesTotal FROM [Loserhub\User\Models\FrontendUsers] AS [FU] JOIN [Loserhub\User\Models\FrontendUsersPosts] AS [FUP] ON FU.id = FUP.userId WHERE isActivated = 1 ORDER BY postTotal DESC, voteTotal DESC, getVotesTotal DESC, FUP.createdAt DESC LIMIT :APL0:

File=/var/www/loserhub/app/modules/frontend/controllers/PeoplesController.php Line=347

#0 [internal function]: Phalcon\Mvc\Model\Query->_getQualified(Array)
#1 [internal function]: Phalcon\Mvc\Model\Query->_getExpression(Array)
#2 [internal function]: Phalcon\Mvc\Model\Query->_getOrderClause(Array)
#3 [internal function]: Phalcon\Mvc\Model\Query->_prepareSelect()
#4 [internal function]: Phalcon\Mvc\Model\Query->parse()
#5 [internal function]: Phalcon\Mvc\Model\Query->execute()
#6 /var/www/loserhub/app/modules/frontend/controllers/PeoplesController.php(347): Phalcon\Paginator\Adapter\QueryBuilder->paginate()
#7 [internal function]: Loserhub\Frontend\Controllers\PeoplesController->rankAction()
#8 [internal function]: Phalcon\Dispatcher\AbstractDispatcher->callActionMethod(Object(Loserhub\Frontend\Controllers\PeoplesController), 'rankAction', Array)
#9 [internal function]: Phalcon\Dispatcher\AbstractDispatcher->dispatch()
#10 /var/www/loserhub/app/bootstrap_web.php(96): Phalcon\Mvc\Application->handle('/peoples/rank')
#11 /var/www/loserhub/public/index.php(18): require('/var/www/loserh...')
#12 {main}