Uncaught Error: Call to a member function get_stylesheet() on null
-
I am experiencing errors with invoicing since updating WooCommerce yesterday.
I received an Internal Server Error when shopping on behalf of a customer and submitting the order from the Cart, as well as the Uncaught Error emailed by WordPress when selecting “Email invoice / order details to customer” and clicking on the > arrow to process this command.
WordPress version 6.0.3
Active theme: Divi (version 4.17.6)
Current plugin: WooCommerce PDF Invoices, Packing Slips, Delivery Notes and Shipping Labels (version 3.0.6)
PHP version 7.4.32Error Details ============= An error of type E_ERROR was caused in line 53 of the file /.../.../public_html/wp-content/plugins/print-invoices-packing-slip-labels-for-woocommerce/includes/vendor/dompdf/dompdf/src/FrameReflower/Page.php. Error message: Uncaught Error: Call to a member function get_stylesheet() on null in /.../.../public_html/wp-content/plugins/print-invoices-packing-slip-labels-for-woocommerce/includes/vendor/dompdf/dompdf/src/FrameReflower/Page.php:53 Stack trace: #0 /.../.../public_html/wp-content/plugins/print-invoices-packing-slip-labels-for-woocommerce/includes/vendor/dompdf/dompdf/src/FrameReflower/Page.php(102): Dompdf\FrameReflower\Page->apply_page_style(Object(Dompdf\FrameDecorator\Page), 1) #1 /.../.../public_html/wp-content/plugins/print-invoices-packing-slip-labels-for-woocommerce/includes/vendor/dompdf/dompdf/src/FrameDecorator/AbstractFrameDecorator.php(895): Dompdf\FrameReflower\Page->reflow(NULL) #2 /.../.../public_html/wp-content/plugins/zero-bs-crm/includes/lib/dompdf-2/vendor/dompdf/dompdf/src/Dompdf.php(765): Dompdf\FrameDecorator\AbstractFrameDecorator->reflow() #3 /.../.../public_html/wp-content/plugins/print-invoices-packing-slip-labels-for-woocommerce/includes/class-dompdf.php(38): Dompdf\Dompdf->The page I need help with: [log in to see the link]
The topic ‘Uncaught Error: Call to a member function get_stylesheet() on null’ is closed to new replies.