• Resolved samd2020

    (@samd2020)


    Hi,

    We just updated our wordpress version to the latest wordpress as well as the latest version of the pdf invocie & packing slip plugin. However the “PDF document data” tab on the order pages is now empty.

    Also when I look under the PDF invoices settings, even with the “simple” template, on the right hand side it is saying:

    “Document not available for order #39070, try selecting a different order.” – data does exist for this order however.

    Any help would be appreciated.

    Thank you,

    Sam

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter samd2020

    (@samd2020)

    Also, on the right hand column there is still a “pdf packing slip” option and when we click on this it throws the following error:

    Fatal error: Call to undefined function Dompdf\mb_internal_encoding()
    /home/(insert site here)/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/src/Dompdf.php (295)
    #0 /home/(insert site here)/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/src/Dompdf.php(269): Dompdf\Dompdf->setPhpConfig()
    #1 /home/(insert site here)/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/class-wcpdf-pdf-maker.php(48): Dompdf\Dompdf->__construct(Object(Dompdf\Options))
    #2 /home/(insert site here)/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document.php(799): WPO\WC\PDF_Invoices\PDF_Maker->output()
    #3 /home/(insert site here)/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document.php(864): WPO\WC\PDF_Invoices\Documents\Order_Document->get_pdf()
    #4 /home/(insert site here)/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/class-wcpdf-main.php(401): WPO\WC\PDF_Invoices\Documents\Order_Document->output_pdf('inline')
    #5 /home/(insert site here)/public_html/wp-includes/class-wp-hook.php(308): WPO\WC\PDF_Invoices\Main->generate_pdf_ajax('')
    #6 /home/(insert site here)/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array)
    #7 /home/(insert site here)/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #8 /home/(insert site here)/public_html/wp-admin/admin-ajax.php(188): do_action('wp_ajax_generat...')
    #9 {main}
    Plugin Contributor Yordan Soares

    (@yordansoares)

    Hi @samd2020,

    Could you send us a screenshot of your?System Configuration?and?Write Permissions, that you’ll find under?WooCommerce > PDF Invoices > Status?tab?

    You can use imgbb.com to upload the screenshot, and then share the image URL here.

    Thread Starter samd2020

    (@samd2020)

    Hi Yordan, thank you please see this link:

    https://ibb.co/HzW5gZz

    Plugin Contributor Yordan Soares

    (@yordansoares)

    Hi @samd2020,

    Thanks for providing that screenshot. This explains why you’re receiving that error: Your sever doesn’t have the mbstring PHP extension activated. Please ask your hosting provider to activate it, and then try opening a PDF document to check if it’s generating correctly.

    Thread Starter samd2020

    (@samd2020)

    Hi Yordan,

    Thank you the mbstring extension has been activated and the packing slip is now working.

    Unfortunately the pdf invoice section on the customer order page still isn’t working properly though. Here is how it looks on the page: https://ibb.co/mB8znm3

    Under the plugin settings page general settings when choosing a template (even with the simple template), the section to the right still says “Document not available for order #39097, try selecting a different order.”

    Here is the staus page now: https://ibb.co/gFjyy0W

    Thanks for your help

    Plugin Contributor Yordan Soares

    (@yordansoares)

    Hi @samd2020,

    Could you please check if you have the PDF invoice and/or PDF packing slip activated, under WooCommerce?> PDF?Invoices?> Documents?> Invoice/Packing?Slip?

    Plugin Contributor Yordan Soares

    (@yordansoares)

    Hi @samd2020,

    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 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Document Data not showing after WordPress Update’ is closed to new replies.