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=121

#0 [internal function]: Phalcon\Paginator\Adapter\AbstractAdapter->setCurrentPage('05adcaaa8ec8432...')
#1 [internal function]: Phalcon\Paginator\Adapter\AbstractAdapter->__construct(Array)
#2 /var/www/loserhub/app/modules/frontend/controllers/GroupsController.php(121): Phalcon\Paginator\Adapter\QueryBuilder->__construct(Array)
#3 [internal function]: Loserhub\Frontend\Controllers\GroupsController->indexAction('0', '05adcaaa8ec8432...')
#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}