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 (duplicate)

Hi Dmitry
Just to follow up on this.

I am having trouble printing invoices and shipments on orders that were placed using Stripe.
I get an error 500 page.
Payment can also be made on the website using Paypal but there is no issue there, and the pdf printing works fine.
I am awaiting logs from the hosting company.
I am not sure if this is relevant but I noticed that orders using Stripe has no Bill-to Name in the invoice or shipment section.
See screenshot, Stripe orders have no ‘Bill-to Name’.


Regards
Dave

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