Fatal error: Uncaught Error: Call to a member function getSize() on null in /var/www/magento/vendor/magento/module-theme/view/frontend/templates/html/pager.phtml:17
Stack trace:
#0 /var/www/magento/vendor/magento/framework/View/TemplateEngine/Php.php(59): include()
#1 /var/www/magento/vendor/magento/framework/Interception/Interceptor.php(60): Magento\Framework\View\TemplateEngine\Php->render(Object(Magento\Theme\Block\Html\Pager\Interceptor), '/var/www/magent...', Array)
#2 /var/www/magento/vendor/magento/framework/Interception/Interceptor.php(201): Magento\Framework\View\TemplateEngine\Php\Interceptor->___callParent('render', Array)
#3 /var/www/magento/vendor/magento/framework/Interception/Interceptor.php(216): Magento\Framework\View\TemplateEngine\Php\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Theme\Block\Html\Pager\Interceptor), '/var/www/magent...', Array)
#4 /var/www/magento/generated/code/Magento/Framework/View/TemplateEngine/Php/Interceptor.php(26): Magento\Framework\View\TemplateEngine\Ph in /var/www/magento/vendor/magento/module-theme/view/frontend/templates/html/pager.phtml on line 17