Fatal error: Uncaught Error: Call to a member function getUrl() on null in /home/np5277/public_html/vendor/magento/module-catalog/view/frontend/templates/category/image.phtml:21 Stack trace: #0 /home/np5277/public_html/vendor/magento/framework/View/TemplateEngine/Php.php(59): include() #1 /home/np5277/public_html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\TemplateEngine\Php->render(Object(Magento\Catalog\Block\Category\View), '/home/np5277/pu...', Array) #2 /home/np5277/public_html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\TemplateEngine\Php\Interceptor->___callParent('render', Array) #3 /home/np5277/public_html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\View\TemplateEngine\Php\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Catalog\Block\Category\View), '/home/np5277/pu...', Array) #4 /home/np5277/public_html/generated/code/Magento/Framework/View/TemplateEngine/Php/Interceptor.php(26): M in /home/np5277/public_html/vendor/magento/module-catalog/view/frontend/templates/category/image.phtml on line 21