Fatal error: Uncaught Error: Call to a member function getId() on null in /home/amirj812/public_html/app/design/frontend/Sm/market/Magento_Theme/templates/html/title.phtml:33 Stack trace: #0 /home/amirj812/public_html/vendor/magento/framework/View/TemplateEngine/Php.php(59): include() #1 /home/amirj812/public_html/vendor/magento/framework/View/Element/Template.php(271): Magento\Framework\View\TemplateEngine\Php->render(Object(Magento\Theme\Block\Html\Title), '/home/amirj812/...', Array) #2 /home/amirj812/public_html/vendor/magento/framework/View/Element/Template.php(301): Magento\Framework\View\Element\Template->fetchView('/home/amirj812/...') #3 /home/amirj812/public_html/vendor/magento/framework/View/Element/AbstractBlock.php(668): Magento\Framework\View\Element\Template->_toHtml() #4 /home/amirj812/public_html/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Element\AbstractBlock->toHtml() #5 /home/amirj812/public_html/vendor/magento/framework/View/Layout.php(533): Magento\Framework\View\Layout->_r in /home/amirj812/public_html/app/design/frontend/Sm/market/Magento_Theme/templates/html/title.phtml on line 33