Fatal error: Uncaught Error: Call to a member function getData() on null in /srv/public_html/app/design/frontend/Revision/revision_theme/Magento_Contact/templates/form.phtml:13 Stack trace: #0 /srv/public_html/vendor/magento/framework/View/TemplateEngine/Php.php(59): include() #1 /srv/public_html/vendor/magento/framework/View/Element/Template.php(255): Magento\Framework\View\TemplateEngine\Php->render(Object(RevisionMilitary\Contact\Block\ContactForm), '/srv/public_htm...', Array) #2 /srv/public_html/vendor/magento/framework/View/Element/Template.php(279): Magento\Framework\View\Element\Template->fetchView('/srv/public_htm...') #3 /srv/public_html/vendor/magento/framework/View/Element/AbstractBlock.php(659): Magento\Framework\View\Element\Template->_toHtml() #4 /srv/public_html/vendor/magento/framework/View/Layout.php(542): Magento\Framework\View\Element\AbstractBlock->toHtml() #5 /srv/public_html/vendor/magento/framework/View/Layout.php(518): Magento\Framework\View\Layout->_renderBlock('contactForm') #6 /srv/public_html/ in /srv/public_html/app/design/frontend/Revision/revision_theme/Magento_Contact/templates/form.phtml on line 13