Class: Phalcon\Paginator\Exception:

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

File=/var/www/loserhub/app/modules/backend/controllers/CompanyController.php Line=256

#0 /var/www/loserhub/app/modules/backend/controllers/CompanyController.php(256): Phalcon\Paginator\Adapter\QueryBuilder->__construct(Array)
#1 [internal function]: Loserhub\Backend\Controllers\CompanyController->relatedAction('%05V%11%EF%BF%B...')
#2 [internal function]: Phalcon\Dispatcher\AbstractDispatcher->callActionMethod(Object(Loserhub\Backend\Controllers\CompanyController), 'relatedAction', Array)
#3 [internal function]: Phalcon\Dispatcher\AbstractDispatcher->dispatch()
#4 /var/www/loserhub/app/bootstrap_web.php(96): Phalcon\Mvc\Application->handle('/backend/compan...')
#5 /var/www/loserhub/public/index.php(18): require('/var/www/loserh...')
#6 {main}