Fatal error: Uncaught Error: Call to a member function getIsActive() on array in /home/gofresh/app/code/MagentoCoders/Catalog/Block/Category/Navigation.php:106 Stack trace: #0 /home/gofresh/app/code/MagentoCoders/Catalog/Block/Category/Navigation.php(79): MagentoCoders\Catalog\Block\Category\Navigation->_getHtml(Object(Magento\Catalog\Model\Category\Interceptor)) #1 /home/gofresh/app/code/MagentoCoders/Catalog/view/frontend/templates/category/navigation.phtml(28): MagentoCoders\Catalog\Block\Category\Navigation->getHtml() #2 /home/gofresh/vendor/magento/framework/View/TemplateEngine/Php.php(59): include('/home/gofresh/a...') #3 /home/gofresh/vendor/magento/framework/View/Element/Template.php(271): Magento\Framework\View\TemplateEngine\Php->render(Object(MagentoCoders\Catalog\Block\Category\Navigation\Interceptor), '/home/gofresh/a...', Array) #4 /home/gofresh/vendor/magento/framework/View/Element/Template.php(301): Magento\Framework\View\Element\Template->fetchView('/home/gofresh/a...') #5 /home/gofresh/vendor/magento/fra in /home/gofresh/app/code/MagentoCoders/Catalog/Block/Category/Navigation.php on line 106