Class: TypeError:

Exception: Phalcon\Paginator\Adapter\AbstractAdapter::setCurrentPage(): Argument #1 ($page) must be of type int, string given

File=/var/www/loserhub/app/modules/frontend/controllers/GroupsController.php Line=118

#0 [internal function]: Phalcon\Paginator\Adapter\AbstractAdapter->setCurrentPage('d108c21d09954ae...')
#1 [internal function]: Phalcon\Paginator\Adapter\AbstractAdapter->__construct(Array)
#2 /var/www/loserhub/app/modules/frontend/controllers/GroupsController.php(118): Phalcon\Paginator\Adapter\QueryBuilder->__construct(Array)
#3 [internal function]: Loserhub\Frontend\Controllers\GroupsController->indexAction('0', 'd108c21d09954ae...')
#4 [internal function]: Phalcon\Dispatcher\AbstractDispatcher->callActionMethod(Object(Loserhub\Frontend\Controllers\GroupsController), 'indexAction', Array)
#5 [internal function]: Phalcon\Dispatcher\AbstractDispatcher->dispatch()
#6 /var/www/loserhub/app/bootstrap_web.php(100): Phalcon\Mvc\Application->handle('/groups/index/0...')
#7 /var/www/loserhub/public/index.php(17): require('/var/www/loserh...')
#8 {main}