• Resolved zixtro

    (@zixtro)


    Hi, we are experiencing this error when generating invoice. THis happen only sometimes.

    Fatal error: Call to a member function get_cellmap() on null
    /data/7/a/7a217292-67f1-4c9d-a036-4a241bcc4528/gabionylemon.sk/data/sub/old/eshop.gabionylemon.cz/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/src/FrameReflower/TableCell.php (41)
    #0 /data/7/a/7a217292-67f1-4c9d-a036-4a241bcc4528/gabionylemon.sk/data/sub/old/eshop.gabionylemon.cz/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/src/FrameDecorator/AbstractFrameDecorator.php(916): Dompdf\FrameReflower\TableCell->reflow(Object(Dompdf\FrameDecorator\Block))
    #1 /data/7/a/7a217292-67f1-4c9d-a036-4a241bcc4528/gabionylemon.sk/data/sub/old/eshop.gabionylemon.cz/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/src/FrameReflower/Block.php(865): Dompdf\FrameDecorator\AbstractFrameDecorator->reflow(Object(Dompdf\FrameDecorator\Block))
    #2 /data/7/a/7a217292-67f1-4c9d-a036-4a241bcc4528/gabionylemon.sk/data/sub/old/eshop.gabionylemon.cz/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/src/FrameDecorator/AbstractFrameDecorator.php(916): Dompdf\FrameReflower\Block->reflow(NULL)
    #3 /data/7/a/7a217292-67f1-4c9d-a036-4a241bcc4528/gabionylemon.sk/data/sub/old/eshop.gabionylemon.cz/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/src/FrameReflower/Page.php(142): Dompdf\FrameDecorator\AbstractFrameDecorator->reflow()
    #4 /data/7/a/7a217292-67f1-4c9d-a036-4a241bcc4528/gabionylemon.sk/data/sub/old/eshop.gabionylemon.cz/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/src/FrameDecorator/AbstractFrameDecorator.php(916): Dompdf\FrameReflower\Page->reflow(NULL)
    #5 /data/7/a/7a217292-67f1-4c9d-a036-4a241bcc4528/gabionylemon.sk/data/sub/old/eshop.gabionylemon.cz/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/src/Dompdf.php(770): Dompdf\FrameDecorator\AbstractFrameDecorator->reflow()
    #6 /data/7/a/7a217292-67f1-4c9d-a036-4a241bcc4528/gabionylemon.sk/data/sub/old/eshop.gabionylemon.cz/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/class-wcpdf-pdf-maker.php(52): Dompdf\Dompdf->render()
    #7 /data/7/a/7a217292-67f1-4c9d-a036-4a241bcc4528/gabionylemon.sk/data/sub/old/eshop.gabionylemon.cz/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document.php(752): WPO\WC\PDF_Invoices\PDF_Maker->output()
    #8 /data/7/a/7a217292-67f1-4c9d-a036-4a241bcc4528/gabionylemon.sk/data/sub/old/eshop.gabionylemon.cz/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document.php(814): WPO\WC\PDF_Invoices\Documents\Order_Document->get_pdf()
    #9 /data/7/a/7a217292-67f1-4c9d-a036-4a241bcc4528/gabionylemon.sk/data/sub/old/eshop.gabionylemon.cz/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/class-wcpdf-main.php(376): WPO\WC\PDF_Invoices\Documents\Order_Document->output_pdf(‘inline’)
    #10 /data/7/a/7a217292-67f1-4c9d-a036-4a241bcc4528/gabionylemon.sk/data/sub/old/eshop.gabionylemon.cz/wp-includes/class-wp-hook.php(307): WPO\WC\PDF_Invoices\Main->generate_pdf_ajax(”)
    #11 /data/7/a/7a217292-67f1-4c9d-a036-4a241bcc4528/gabionylemon.sk/data/sub/old/eshop.gabionylemon.cz/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(”, Array)
    #12 /data/7/a/7a217292-67f1-4c9d-a036-4a241bcc4528/gabionylemon.sk/data/sub/old/eshop.gabionylemon.cz/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
    #13 /data/7/a/7a217292-67f1-4c9d-a036-4a241bcc4528/gabionylemon.sk/data/sub/old/eshop.gabionylemon.cz/wp-admin/admin-ajax.php(187): do_action(‘wp_ajax_generat…’)
    #14 {main}

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Darren Peyou

    (@dpeyou)

    Hi @zixtro,

    Are you using a custom template? If yes, do you ever get this error when using the default “Simple” template? I would test on such an order.

    Thread Starter zixtro

    (@zixtro)

    Hi,

    i am using Simple template.

    Plugin Contributor alexmigf

    (@alexmigf)

    Hi @zixtro

    This error happens when you have malformatted HTML in the PDF. Perhaps something (other plugin or a custom function) is injecting HTML to your PDF?

    Let us know.

    Plugin Contributor Yordan Soares

    (@yordansoares)

    Hi @zixtro,

    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 4 replies - 1 through 4 (of 4 total)

The topic ‘Fatal error’ is closed to new replies.