Fatal error: Uncaught Error: Call to a member function getId() on boolean in /home/underweb/public_html/site2019/app/code/BVZ/Accommodation/view/frontend/templates/room/content.phtml:3 Stack trace: #0 /home/underweb/public_html/site2019/vendor/magento/framework/View/TemplateEngine/Php.php(59): include() #1 /home/underweb/public_html/site2019/vendor/magento/framework/View/Element/Template.php(271): Magento\Framework\View\TemplateEngine\Php->render(Object(BVZ\Accommodation\Block\Room), '/home/underweb/...', Array) #2 /home/underweb/public_html/site2019/vendor/magento/framework/View/Element/Template.php(301): Magento\Framework\View\Element\Template->fetchView('/home/underweb/...') #3 /home/underweb/public_html/site2019/vendor/magento/framework/View/Element/AbstractBlock.php(1094): Magento\Framework\View\Element\Template->_toHtml() #4 /home/underweb/public_html/site2019/vendor/magento/framework/View/Element/AbstractBlock.php(1098): Magento\Framework\View\Element\AbstractBlock->Magento\Framework\View\Element\{closure}() #5 /ho in /home/underweb/public_html/site2019/app/code/BVZ/Accommodation/view/frontend/templates/room/content.phtml on line 3