If you get an error that looks something like this when trying to create a PDF Invoice or Packing Slip:
Fatal error: Call to undefined method DOMText::getAttribute() in /home/yoursite/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/lib/dompdf/include/cellmap.cls.php on line 437
This means that there is an error in the HTML source of your template. This can be caused by plugin output or errors in the middle of a table, or in other places where no text output should be, often in a
table element outside the table cell (
To determine the cause for your particular error, you can (temporarily) output the invoice data to HTML, by turning on the ‘Output to HTML’ setting in the Status tab of the PDF Invoice settings.
Next, create a PDF invoice from the WooCommerce backend. You can now view the HTML source of the document to see if you can find anything wrong with the HTML. If you don’t see anything or don’t know what to look for, you can also try running the template output through an HTML validator (like http://validator.w3.org/#validate_by_input).
If you still can’t find the cause of the error, check the step-by-step instructions on the support forum and open a new thread on the forum with your findings.