• Resolved SMukta

    (@smukta)


    When trying to view the PDF invoice/ packing slip I am getting the following error message:

    Fatal error: Class ‘DOMDocument’ not found
    #0 /usr/share/nginx/web/prabhuji.net/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/class-wcpdf-pdf-maker.php(50): Dompdf\Dompdf->loadHtml(‘…’)
    #1 /usr/share/nginx/web/prabhuji.net/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document.php(627): WPO\WC\PDF_Invoices\PDF_Maker->output()
    #2 /usr/share/nginx/web/prabhuji.net/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document.php(662): WPO\WC\PDF_Invoices\Documents\Order_Document->get_pdf()
    #3 /usr/share/nginx/web/prabhuji.net/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/class-wcpdf-main.php(337): WPO\WC\PDF_Invoices\Documents\Order_Document->output_pdf(‘inline’)
    #4 /usr/share/nginx/web/prabhuji.net/wp-includes/class-wp-hook.php(288): WPO\WC\PDF_Invoices\Main->generate_pdf_ajax(”)
    #5 /usr/share/nginx/web/prabhuji.net/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(”, Array)
    #6 /usr/share/nginx/web/prabhuji.net/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #7 /usr/share/nginx/web/prabhuji.net/wp-admin/admin-ajax.php(175): do_action(‘wp_ajax_generat…’)
    #8 {main}

    Please let me know how to fix that.
    Thank you!!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support alexmigf

    (@alexmigf)

    Hi @smukta

    It seams that you don’t have the PHP extension DOMDocument installed in your hosting. Can you contact your hosting company and see if they can install it?

    Thread Starter SMukta

    (@smukta)

    Sure. I will. Thank you!!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PDF shows error’ is closed to new replies.