• Resolved Traeonna

    (@traeonna)


    After the newest update (4.6.0) I am having issues with the plugin again. This time 200: parsererror when previewing on General Tab. Will not generate Invoice or Packing Slip… error Fatal error: Class “DOMDocument” not found

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor alexmigf

    (@alexmigf)

    Hi @traeonna

    That’s odd. Are you using a custom template or running any custom code snippets?

    Thread Starter Traeonna

    (@traeonna)

    Not to my knowledge. Everything was fine when I was using 4.5.2-pr1188.1, but recently updated to 4.6.0 and that’s when everything stopped working.

    Thread Starter Traeonna

    (@traeonna)

    When I try to generate an invoice (or packing slip):

    InvoiceFatal error: Class “DOMDocument” not found/home/epub/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/wpo-ips-functions.php (623)#0 /home/epub/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/Documents/OrderDocumentMethods.php(99): wpo_wcpdf_sanitize_html_content() #1 /home/epub/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/Documents/OrderDocumentMethods.php(111): WPO\IPS\Documents\OrderDocumentMethods->get_billing_address() #2 /home/epub/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/templates/Simple/invoice.php(48): WPO\IPS\Documents\OrderDocumentMethods->billing_address() #3 /home/epub/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/Documents/OrderDocument.php(1783): include(‘/home/epub/publ…’) #4 /home/epub/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/Documents/OrderDocument.php(1639): WPO\IPS\Documents\OrderDocument->render_template() #5 /home/epub/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/Documents/OrderDocument.php(1596): WPO\IPS\Documents\OrderDocument->get_html() #6 /home/epub/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/Documents/OrderDocument.php(1663): WPO\IPS\Documents\OrderDocument->get_pdf() #7 /home/epub/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/Main.php(517): WPO\IPS\Documents\OrderDocument->output_pdf() #8 /home/epub/public_html/wp-includes/class-wp-hook.php(324): WPO\IPS\Main->generate_document_ajax() #9 /home/epub/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #10 /home/epub/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #11 /home/epub/public_html/wp-admin/admin-ajax.php(192): do_action() #12 {main}

    • This reply was modified 10 months, 3 weeks ago by Traeonna.
    Thread Starter Traeonna

    (@traeonna)

    OMG I figured it out. I recently changed my PHP version and didn’t realize it would disable a bunch of extensions (like dom)!

    Plugin Contributor alexmigf

    (@alexmigf)

    Glad you found the solution!

    Have a nice day!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘200: parsererror’ is closed to new replies.