Fatal error: Uncaught Error: Call to a member function getName() on null in /var/www_m2/questconsumables.com/htdocs/app/code/Ves/Brand/Block/Brand/View.php:156
Stack trace:
#0 /var/www_m2/questconsumables.com/htdocs/vendor/magento/framework/View/Element/AbstractBlock.php(286): Ves\Brand\Block\Brand\View->_prepareLayout()
#1 /var/www_m2/questconsumables.com/htdocs/vendor/magento/framework/View/Layout/Generator/Block.php(149): Magento\Framework\View\Element\AbstractBlock->setLayout(Object(Magento\Framework\View\Layout\Interceptor))
#2 /var/www_m2/questconsumables.com/htdocs/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))
#3 /var/www_m2/questconsumables.com/htdocs/vendor/magento/framework/View/Layout.php(352): Magento\Framework\View\Layout\GeneratorPool->process(Object(Magento\Framework\View\Layout\Reader\Context), Object(Magento\Framework\View\Layou in /var/www_m2/questconsumables.com/htdocs/app/code/Ves/Brand/Block/Brand/View.php on line 156
Fatal error: Uncaught Error: Call to a member function getName() on null in /var/www_m2/questconsumables.com/htdocs/app/code/Ves/Brand/Block/Brand/View.php:156
Stack trace:
#0 /var/www_m2/questconsumables.com/htdocs/vendor/magento/framework/View/Element/AbstractBlock.php(286): Ves\Brand\Block\Brand\View->_prepareLayout()
#1 /var/www_m2/questconsumables.com/htdocs/vendor/magento/framework/View/Layout/Generator/Block.php(149): Magento\Framework\View\Element\AbstractBlock->setLayout(Object(Magento\Framework\View\Layout\Interceptor))
#2 /var/www_m2/questconsumables.com/htdocs/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))
#3 /var/www_m2/questconsumables.com/htdocs/vendor/magento/framework/View/Layout.php(352): Magento\Framework\View\Layout\GeneratorPool->process(Object(Magento\Framework\View\Layout\Reader\Context), Object(Magento\Framework\View\Layou in /var/www_m2/questconsumables.com/htdocs/app/code/Ves/Brand/Block/Brand/View.php on line 156