Warning: Undefined variable $block in /var/www/magento/html/app/design/frontend/bbnt/base/Magento_Sales/templates/email/invoice/items.phtml on line 1

Fatal error: Uncaught Error: Call to a member function getInvoice() on null in /var/www/magento/html/app/design/frontend/bbnt/base/Magento_Sales/templates/email/invoice/items.phtml:1 Stack trace: #0 {main} thrown in /var/www/magento/html/app/design/frontend/bbnt/base/Magento_Sales/templates/email/invoice/items.phtml on line 1