Fatal error: Uncaught Error: Call to a member function getId() on null in /var/www/html/magento2/app/design/frontend/Farbcode/neukirchen_2019/Magento_Theme/templates/html/sidemenu.phtml:9 Stack trace: #0 /var/www/html/magento2/vendor/magento/framework/View/TemplateEngine/Php.php(59): include() #1 /var/www/html/magento2/vendor/magento/framework/View/Element/Template.php(271): Magento\Framework\View\TemplateEngine\Php->render(Object(Magento\Framework\View\Element\Template), '/var/www/html/m...', Array) #2 /var/www/html/magento2/vendor/magento/framework/View/Element/Template.php(301): Magento\Framework\View\Element\Template->fetchView('/var/www/html/m...') #3 /var/www/html/magento2/vendor/magento/framework/View/Element/AbstractBlock.php(668): Magento\Framework\View\Element\Template->_toHtml() #4 /var/www/html/magento2/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Element\AbstractBlock->toHtml() #5 /var/www/html/magento2/vendor/magento/framework/View/Layout.php(533): Magento\Framework\View\Layout->_ren in /var/www/html/magento2/app/design/frontend/Farbcode/neukirchen_2019/Magento_Theme/templates/html/sidemenu.phtml on line 9