Notice: Undefined variable: categoryId in /var/www/loserhub/app/modules/frontend/controllers/GroupsController.php on line 467
Class: Phalcon\Paginator\Exception:

Exception: Parameter 'builder' must be an instance of Phalcon\Mvc\Model\Query\Builder

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

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