Classes/ViewHelpers/Be/Widget/PaginateViewHelper.php
protected function initiateSubRequest()
    {
        $objectManager = new ObjectManager();
        $this->controller = $objectManager->get(PaginateController::class);

        return parent::initiateSubRequest();
    }
protected function initiateSubRequest()
    {
        $objectManager = new ObjectManager();
        $this->controller = $objectManager->get(PaginateController::class);

        return parent::initiateSubRequest();
    }
protected function initiateSubRequest ( ) { $ objectManager = new ObjectManager ( ) ; $ this -> controller = $ objectManager -> get ( PaginateController :: class ) ; return parent :: initiateSubRequest ( ) ; }
Init subrequest.

@return \TYPO3\CMS\Extbase\Mvc\ResponseInterface
Init subrequest .