Fatal error: Uncaught Error: Call to a member function getId() on null in /home/altparts/public_html/app/code/Biztech/SageIntegration/Block/Orders.php:56 Stack trace: #0 /home/altparts/public_html/app/code/Biztech/SageIntegration/Block/Orders.php(68): Biztech\SageIntegration\Block\Orders->getCustomerNo() #1 /home/altparts/public_html/var/view_preprocessed/pub/static/app/code/Biztech/SageIntegration/view/frontend/templates/orders.phtml(1): Biztech\SageIntegration\Block\Orders->getSageOrdersData() #2 /home/altparts/public_html/vendor/magento/framework/View/TemplateEngine/Php.php(59): include('/home/altparts/...') #3 /home/altparts/public_html/vendor/magento/framework/View/Element/Template.php(270): Magento\Framework\View\TemplateEngine\Php->render(Object(Biztech\SageIntegration\Block\Orders), '/home/altparts/...', Array) #4 /home/altparts/public_html/vendor/magento/framework/View/Element/Template.php(300): Magento\Framework\View\Element\Template->fetchView('/home/altparts/...') #5 /home/altparts/public_html/vendor/magento/f in /home/altparts/public_html/app/code/Biztech/SageIntegration/Block/Orders.php on line 56