Fatal error: Uncaught Error: Call to a member function getAttributeId() on boolean in /home/xceluk/public_html/app/code/Emizentech/ShopByBrand/Block/View.php:91 Stack trace: #0 /home/xceluk/public_html/app/code/Emizentech/ShopByBrand/Block/View.php(49): Emizentech\ShopByBrand\Block\View->getProductCollection() #1 /home/xceluk/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(111): 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), Object(Emizentech\ShopByBrand\Model\BrandFactory), Array) #2 /home/xceluk/public_html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(66): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Emizentech\\Shop...', Array) #3 /home/xceluk/public_html/vendor/magento/framework/ObjectManager/ObjectManager.php(56): Magento\Framewo in /home/xceluk/public_html/app/code/Emizentech/ShopByBrand/Block/View.php on line 91