• Resolved Zoker

    (@zoker)


    500 when creating an invoice
    Debug log:

    [21-Oct-2017 18:47:13 UTC] PHP Fatal error:  Uncaught DOMException: Invalid Character Error in /wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/lib/html5lib/TreeBuilder.php:3191
    Stack trace:
    #0 /wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/lib/html5lib/TreeBuilder.php(3191): DOMElement->setAttribute('amount\\"', '')
    #1 /wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/lib/html5lib/TreeBuilder.php(1493): HTML5_TreeBuilder->insertElement(Array)
    #2 /wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/lib/html5lib/TreeBuilder.php(3596): HTML5_TreeBuilder->emitToken(Array, 6)
    #3 /wp-content/plugins/woocom in /wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/lib/html5lib/TreeBuilder.php on line 3191
    
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor kluver

    (@kluver)

    Hi @zoker,

    You should be able to fix this problem by going to your WordPress Dashboard > WooCommerce > PDF Invoices > Status and check the option Use DOMDocument to parse HTML.

    I hope this helps.

    With kind regards,

    Michael

    Thread Starter Zoker

    (@zoker)

    Works!
    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘500 error with Invalid Character Error’ is closed to new replies.