Fatal error: Uncaught Error: Call to a member function getStore() on null in /home/maanzil/public_html/vendor/magento/module-catalog-search/Block/Advanced/Form.php:72 Stack trace: #0 /home/maanzil/public_html/vendor/magento/framework/View/Element/AbstractBlock.php(272): Magento\CatalogSearch\Block\Advanced\Form->_prepareLayout() #1 /home/maanzil/public_html/vendor/magento/framework/View/Layout/Generator/Block.php(150): Magento\Framework\View\Element\AbstractBlock->setLayout(Object(Magento\Framework\View\Layout\Interceptor)) #2 /home/maanzil/public_html/vendor/magento/framework/View/Layout/GeneratorPool.php(80): Magento\Framework\View\Layout\Generator\Block->process(Object(Magento\Framework\View\Layout\Reader\Context), Object(Magento\Framework\View\Layout\Generator\Context)) #3 /home/maanzil/public_html/vendor/magento/framework/View/Layout.php(344): Magento\Framework\View\Layout\GeneratorPool->process(Object(Magento\Framework\View\Layout\Reader\Context), Object(Magento\Framework\View\Layout\Generator\Context)) #4 /home/maa in /home/maanzil/public_html/vendor/magento/module-catalog-search/Block/Advanced/Form.php on line 72