Fatal error: Uncaught Error: Call to a member function getAttributeId() on bool in /home/rkssales/public_html/app/code/Emizentech/ShopByBrand/Block/View.php:112 Stack trace: #0 /home/rkssales/public_html/app/code/Emizentech/ShopByBrand/Block/View.php(61): Emizentech\ShopByBrand\Block\View->getProductCollection() #1 /home/rkssales/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(121): Emizentech\ShopByBrand\Block\View->__construct(Object(Magento\Catalog\Block\Product\Context), Object(Magento\Catalog\Model\ResourceModel\Product\CollectionFactory), Object(Magento\Catalog\Model\Product\Visibility), Object(Magento\Framework\App\Http\Context\Interceptor), Object(Emizentech\ShopByBrand\Model\BrandFactory), Object(Magento\Framework\App\Request\Http), Array) #2 /home/rkssales/public_html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(66): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Emizentech\\Shop...', Array) #3 /home/rkssales/public_html/vendor/magent in /home/rkssales/public_html/app/code/Emizentech/ShopByBrand/Block/View.php on line 112