• Following a WordPress update, I am encountering this error that only appears when I try to create my invoice (it does not occur on quotes or anything else).

    Fatal error: Call to a member function get_cellmap() on null
    /var/www/html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/src/FrameReflower/TableCell.php (40)
    #0 /var/www/html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/src/FrameDecorator/AbstractFrameDecorator.php(913): Dompdf\FrameReflower\TableCell->reflow(NULL)
    #1 /var/www/html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/src/FrameReflower/TableRow.php(56): Dompdf\FrameDecorator\AbstractFrameDecorator->reflow()
    #2 /var/www/html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/src/FrameDecorator/AbstractFrameDecorator.php(913): Dompdf\FrameReflower\TableRow->reflow(NULL)
    #3 /var/www/html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/src/FrameReflower/TableRowGroup.php(47): Dompdf\FrameDecorator\AbstractFrameDecorator->reflow()
    #4 /var/www/html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/src/FrameDecorator/AbstractFrameDecorator.php(913): Dompdf\FrameReflower\TableRowGroup->reflow(Object(Dompdf\FrameDecorator\Block))
    #5 /var/www/html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/src/FrameReflower/Block.php(865): Dompdf\FrameDecorator\AbstractFrameDecorator->reflow(Object(Dompdf\FrameDecorator\Block))
    #6 /var/www/html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/src/FrameDecorator/AbstractFrameDecorator.php(913): Dompdf\FrameReflower\Block->reflow(NULL)
    #7 /var/www/html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/src/FrameReflower/Page.php(142): Dompdf\FrameDecorator\AbstractFrameDecorator->reflow()
    #8 /var/www/html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/src/FrameDecorator/AbstractFrameDecorator.php(913): Dompdf\FrameReflower\Page->reflow(NULL)
    #9 /var/www/html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/src/Dompdf.php(765): Dompdf\FrameDecorator\AbstractFrameDecorator->reflow()
    #10 /var/www/html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/class-wcpdf-pdf-maker.php(54): Dompdf\Dompdf->render()
    #11 /var/www/html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document.php(846): WPO\WC\PDF_Invoices\PDF_Maker->output()
    #12 /var/www/html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document.php(911): WPO\WC\PDF_Invoices\Documents\Order_Document->get_pdf()
    #13 /var/www/html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/class-wcpdf-main.php(423): WPO\WC\PDF_Invoices\Documents\Order_Document->output_pdf('inline')
    #14 /var/www/html/wp-includes/class-wp-hook.php(308): WPO\WC\PDF_Invoices\Main->generate_pdf_ajax('')
    #15 /var/www/html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array)
    #16 /var/www/html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #17 /var/www/html/wp-admin/admin-ajax.php(188): do_action('wp_ajax_generat...')
    #18 {main}

    Kind regards,

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Yordan Soares

    (@yordansoares)

    Hi @abitp,

    Are you using a custom PDF template? You can check this under WooCommerce?> PDF?Invoices?> General?> Choose a template.

    Plugin Contributor Yordan Soares

    (@yordansoares)

    Hi @abitp,

    Since we haven’t heard back from you in the last two weeks, we’re assuming you solved this issue, so I’ll go ahead and mark this ticket as Resolved.

    Feel free to reply to this topic is you still need help with this, or open a new topic if you have any other questions!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal error: Call to a member function get_cellmap() on null’ is closed to new replies.