Fatal error: Uncaught Error: Call to a member function getDisplayMode() on null in /home/wolverinegt/public_html/vendor/magento/module-catalog/Block/Category/View.php:160 Stack trace: #0 /home/wolverinegt/public_html/app/code/Lof/LayeredNavigation/view/frontend/templates/products.phtml(17): Magento\Catalog\Block\Category\View->isContentMode() #1 /home/wolverinegt/public_html/vendor/magento/framework/View/TemplateEngine/Php.php(59): include('/home/wolverine...') #2 /home/wolverinegt/public_html/vendor/magento/framework/View/Element/Template.php(271): Magento\Framework\View\TemplateEngine\Php->render(Object(TemplateMonster\ShopByBrand\Block\Brand\View), '/home/wolverine...', Array) #3 /home/wolverinegt/public_html/vendor/magento/framework/View/Element/Template.php(301): Magento\Framework\View\Element\Template->fetchView('/home/wolverine...') #4 /home/wolverinegt/public_html/vendor/magento/framework/View/Element/AbstractBlock.php(1097): Magento\Framework\View\Element\Template->_toHtml() #5 /home/wolverinegt/public_html/vendo in /home/wolverinegt/public_html/vendor/magento/module-catalog/Block/Category/View.php on line 160