Support » Plugin: WooCommerce PDF Invoices & Packing Slips » Read this first!

  • Plugin Author Ewout

    (@pomegranate)


    If you have questions about invoice/packing slip customizations, check the FAQ to see if it covers your question.

    If you are having issues generating PDF invoices or packing slips, try the following steps to get a better diagnosis of the issue:

    • Go to the Status panel of the plugin settings. Do you see any orange or red flags? If so, try to solve them or post a new thread in the forum (do not reply to this post).
    • Do you get this problem with the default PDF template or a custom template? Try reverting to the default Simple template if this is an error with a custom template. If there’s an error in your template code, this could cause the pdf engine to crash.
    • A common issue is related to memory available, make sure you have at least 64M, preferably 128M or more (this will also show in the status panel)
    • If you’re getting a blank screen when trying to create a PDF, try enabling the ‘Enable debug output‘ setting on the status panel (not recommended on a live site!). This will give you a more descriptive error. Open a new thread in this forum if you don’t know what to do with this error.
    • If you’re getting an error like Fatal error: Call to undefined method DOMText::getAttribute(), there’s probably an error in the HTML produced from your template, which will cause the PDF engine to crash. This could be output from other plugins or errors during execution of some functions. Enable the ‘Output to HTML‘ setting in the Status/Debug settings, and look at the HTML source to see if you can find anything unusual. You can also try running the template output through an HTML validator (like http://validator.w3.org/#validate_by_input).

    DO NOT post in this thread if you’re still having issues after going through these steps. Open a new thread with information about the above steps and we’ll try to help you as quickly as possible.

  • The topic ‘Read this first!’ is closed to new replies.