Fatal error: Call to a member function get_stylesheet() on null
-
Fatal error: Call to a member function get_stylesheet() on null/home/czpcaeazcq/domains/smakki.pl/public_html/wp-content/plugins/qr-code-email-ticket/vendor/dompdf/dompdf/src/FrameReflower/Page.php (53)#0 /home/czpcaeazcq/domains/smakki.pl/public_html/wp-content/plugins/qr-code-email-ticket/vendor/dompdf/dompdf/src/FrameReflower/Page.php(104): Dompdf\FrameReflower\Page->apply_page_style(Object(Dompdf\FrameDecorator\Page), 1) #1 /home/czpcaeazcq/domains/smakki.pl/public_html/wp-content/plugins/qr-code-email-ticket/vendor/dompdf/dompdf/src/FrameDecorator/AbstractFrameDecorator.php(891): Dompdf\FrameReflower\Page->reflow(NULL) #2 /home/czpcaeazcq/domains/smakki.pl/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/src/Dompdf.php(765): Dompdf\FrameDecorator\AbstractFrameDecorator->reflow() #3 /home/czpcaeazcq/domains/smakki.pl/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/makers/class-pdf-maker.php(53): Dompdf\Dompdf->render() #4 /home/czpcaeazcq/domains/smakki.pl/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document.php(938): WPO\WC\PDF_Invoices\Makers\PDF_Maker->output() #5 /home/czpcaeazcq/domains/smakki.pl/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document.php(1004): WPO\WC\PDF_Invoices\Documents\Order_Document->get_pdf() #6 /home/czpcaeazcq/domains/smakki.pl/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/class-wcpdf-main.php(580): WPO\WC\PDF_Invoices\Documents\Order_Document->output_pdf(‘inline’) #7 /home/czpcaeazcq/domains/smakki.pl/public_html/wp-includes/class-wp-hook.php(324): WPO\WC\PDF_Invoices\Main->generate_document_ajax(”) #8 /home/czpcaeazcq/domains/smakki.pl/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) #9 /home/czpcaeazcq/domains/smakki.pl/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #10 /home/czpcaeazcq/domains/smakki.pl/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/class-wcpdf-endpoint.php(85): do_action(‘wp_ajax_generat…’) #11 /home/czpcaeazcq/domains/smakki.pl/public_html/wp-includes/class-wp-hook.php(324): WPO\WC\PDF_Invoices\Endpoint->handle_document_requests(Object(WP)) #12 /home/czpcaeazcq/domains/smakki.pl/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #13 /home/czpcaeazcq/domains/smakki.pl/public_html/wp-includes/plugin.php(565): WP_Hook->do_action(Array) #14 /home/czpcaeazcq/domains/smakki.pl/public_html/wp-includes/class-wp.php(418): do_action_ref_array(‘parse_request’, Array) #15 /home/czpcaeazcq/domains/smakki.pl/public_html/wp-includes/class-wp.php(813): WP->parse_request(”) #16 /home/czpcaeazcq/domains/smakki.pl/public_html/wp-includes/functions.php(1336): WP->main(”) #17 /home/czpcaeazcq/domains/smakki.pl/public_html/wp-blog-header.php(16): wp() #18 /home/czpcaeazcq/domains/smakki.pl/public_html/index.php(17): require(‘/home/czpcaeazc…’) #19 {main}
When i try to open PDF invoice, i got such an error. Additionally i can’t see preview of a document in admin panel: Error trying to generate document: Call to a member function get_stylesheet() on null
I saw such a topic, but no solution.
WordPress: 6.4.2,?PHP 7.4.33
The page I need help with: [log in to see the link]
- The topic ‘Fatal error: Call to a member function get_stylesheet() on null’ is closed to new replies.