Error: Call to a member function getAttributeId() on bool in /home/stage/public_html/app/code/Emizentech/ShopByBrand/Block/View.php:118 Stack trace: #0 /home/stage/public_html/app/code/Emizentech/ShopByBrand/Block/View.php(58): Emizentech\ShopByBrand\Block\View->getProductCollection() #1 /home/stage/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(121): Emizentech\ShopByBrand\Block\View->__construct() #2 /home/stage/public_html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(66): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject() #3 /home/stage/public_html/vendor/magento/framework/ObjectManager/ObjectManager.php(56): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create() #4 /home/stage/public_html/vendor/magento/framework/View/Element/BlockFactory.php(46): Magento\Framework\ObjectManager\ObjectManager->create() #5 /home/stage/public_html/vendor/magento/framework/View/Layout/Generator/Block.php(272): Magento\Framework\View\Element\BlockFactory->createBlock() #6 /home/stage/public_html/vendor/magento/framework/View/Layout/Generator/Block.php(252): Magento\Framework\View\Layout\Generator\Block->getBlockInstance() #7 /home/stage/public_html/vendor/magento/framework/View/Layout/Generator/Block.php(229): Magento\Framework\View\Layout\Generator\Block->createBlock() #8 /home/stage/public_html/vendor/magento/framework/View/Layout/Generator/Block.php(134): Magento\Framework\View\Layout\Generator\Block->generateBlock() #9 /home/stage/public_html/vendor/magento/framework/View/Layout/GeneratorPool.php(93): Magento\Framework\View\Layout\Generator\Block->process() #10 /home/stage/public_html/vendor/magento/framework/View/Layout.php(365): Magento\Framework\View\Layout\GeneratorPool->process() #11 /home/stage/public_html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\Layout->generateElements() #12 /home/stage/public_html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\Layout\Interceptor->___callParent() #13 /home/stage/public_html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\View\Layout\Interceptor->Magento\Framework\Interception\{closure}() #14 /home/stage/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(68): Magento\Framework\View\Layout\Interceptor->___callPlugins() #15 /home/stage/public_html/vendor/magento/framework/View/Layout/Builder.php(129): Magento\Framework\View\Layout\Interceptor->generateElements() #16 /home/stage/public_html/vendor/magento/framework/View/Page/Builder.php(65): Magento\Framework\View\Layout\Builder->generateLayoutBlocks() #17 /home/stage/public_html/vendor/magento/framework/View/Layout/Builder.php(65): Magento\Framework\View\Page\Builder->generateLayoutBlocks() #18 /home/stage/public_html/vendor/magento/framework/View/Page/Config.php(224): Magento\Framework\View\Layout\Builder->build() #19 /home/stage/public_html/vendor/magento/framework/View/Page/Config.php(237): Magento\Framework\View\Page\Config->build() #20 /home/stage/public_html/vendor/magento/framework/App/View.php(170): Magento\Framework\View\Page\Config->publicBuild() #21 /home/stage/public_html/vendor/magento/framework/App/View.php(114): Magento\Framework\App\View->loadLayoutUpdates() #22 /home/stage/public_html/app/code/Emizentech/ShopByBrand/Controller/View/Index.php(8): Magento\Framework\App\View->loadLayout() #23 /home/stage/public_html/vendor/magento/framework/Interception/Interceptor.php(58): Emizentech\ShopByBrand\Controller\View\Index->execute() #24 /home/stage/public_html/vendor/magento/framework/Interception/Interceptor.php(138): Emizentech\ShopByBrand\Controller\View\Index\Interceptor->___callParent() #25 /home/stage/public_html/vendor/magento/framework/App/Action/Plugin/ActionFlagNoDispatchPlugin.php(51): Emizentech\ShopByBrand\Controller\View\Index\Interceptor->Magento\Framework\Interception\{closure}() #26 /home/stage/public_html/vendor/magento/framework/Interception/Interceptor.php(135): Magento\Framework\App\Action\Plugin\ActionFlagNoDispatchPlugin->aroundExecute() #27 /home/stage/public_html/vendor/magento/framework/Interception/Interceptor.php(153): Emizentech\ShopByBrand\Controller\View\Index\Interceptor->Magento\Framework\Interception\{closure}() #28 /home/stage/public_html/generated/code/Emizentech/ShopByBrand/Controller/View/Index/Interceptor.php(23): Emizentech\ShopByBrand\Controller\View\Index\Interceptor->___callPlugins() #29 /home/stage/public_html/vendor/magento/framework/App/Action/Action.php(111): Emizentech\ShopByBrand\Controller\View\Index\Interceptor->execute() #30 /home/stage/public_html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\Action\Action->dispatch() #31 /home/stage/public_html/vendor/magento/framework/Interception/Interceptor.php(138): Emizentech\ShopByBrand\Controller\View\Index\Interceptor->___callParent() #32 /home/stage/public_html/vendor/magento/framework/Interception/Interceptor.php(153): Emizentech\ShopByBrand\Controller\View\Index\Interceptor->Magento\Framework\Interception\{closure}() #33 /home/stage/public_html/generated/code/Emizentech/ShopByBrand/Controller/View/Index/Interceptor.php(32): Emizentech\ShopByBrand\Controller\View\Index\Interceptor->___callPlugins() #34 /home/stage/public_html/vendor/magento/framework/App/FrontController.php(186): Emizentech\ShopByBrand\Controller\View\Index\Interceptor->dispatch() #35 /home/stage/public_html/vendor/magento/framework/App/FrontController.php(118): Magento\Framework\App\FrontController->processRequest() #36 /home/stage/public_html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\FrontController->dispatch() #37 /home/stage/public_html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\App\FrontController\Interceptor->___callParent() #38 /home/stage/public_html/vendor/magento/module-store/App/FrontController/Plugin/RequestPreprocessor.php(99): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}() #39 /home/stage/public_html/vendor/magento/framework/Interception/Interceptor.php(135): Magento\Store\App\FrontController\Plugin\RequestPreprocessor->aroundDispatch() #40 /home/stage/public_html/vendor/magento/module-page-cache/Model/App/FrontController/BuiltinPlugin.php(71): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}() #41 /home/stage/public_html/vendor/magento/framework/Interception/Interceptor.php(135): Magento\PageCache\Model\App\FrontController\BuiltinPlugin->aroundDispatch() #42 /home/stage/public_html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}() #43 /home/stage/public_html/generated/code/Magento/Framework/App/FrontController/Interceptor.php(23): Magento\Framework\App\FrontController\Interceptor->___callPlugins() #44 /home/stage/public_html/vendor/magento/framework/App/Http.php(116): Magento\Framework\App\FrontController\Interceptor->dispatch() #45 /home/stage/public_html/generated/code/Magento/Framework/App/Http/Interceptor.php(23): Magento\Framework\App\Http->launch() #46 /home/stage/public_html/vendor/magento/framework/App/Bootstrap.php(263): Magento\Framework\App\Http\Interceptor->launch() #47 /home/stage/public_html/pub/index.php(29): Magento\Framework\App\Bootstrap->run() #48 {main}