Invoice PDF priting leads to the «Call to a member function toPdf() on null in magento/module-sales/Model/Order/Pdf/AbstractPdf.php:428» failure