Fatal error: Uncaught Error: Call to a member function getId() on null in /home/fiemall/public_html/app/code/Webkul/MpSellAsBrand/Block/Brand/Brands.php:96
Stack trace:
#0 /home/fiemall/public_html/app/code/Webkul/MpSellAsBrand/Block/Brand/Brands.php(76): Webkul\MpSellAsBrand\Block\Brand\Brands->getBrandDetails()
#1 /home/fiemall/public_html/vendor/magento/framework/View/Element/AbstractBlock.php(286): Webkul\MpSellAsBrand\Block\Brand\Brands->_prepareLayout()
#2 /home/fiemall/public_html/vendor/magento/framework/View/Layout/Generator/Block.php(149): Magento\Framework\View\Element\AbstractBlock->setLayout(Object(Magento\Framework\View\Layout\Interceptor))
#3 /home/fiemall/public_html/vendor/magento/framework/View/Layout/GeneratorPool.php(81): Magento\Framework\View\Layout\Generator\Block->process(Object(Magento\Framework\View\Layout\Reader\Context), Object(Magento\Framework\View\Layout\Generator\Context))
#4 /home/fiemall/public_html/vendor/magento/framework/View/Layout.php(352): Magento\Framework\View\Layout\GeneratorPool in /home/fiemall/public_html/app/code/Webkul/MpSellAsBrand/Block/Brand/Brands.php on line 96