Support » Plugin: WooCommerce PDF Invoices & Packing Slips » 500 Internal Server Error / blank page

  • Plugin Author Ewout

    (@pomegranate)


    When you’re getting a blank page or a 500 Internal Server Error when creating a PDF, this can mean different things. A ‘500 error’ is a generic error that your browser will show you when the PDF generation broke and PHP is set to hide any errors, meaning there will usually be an underlying PHP error that is needed to determine the root cause.

    You can get the underlying PHP error to show up by enabling Debug output in the Status tab of the PDF Invoice settings. Turn this on, create a PDF and copy the error. Don’t forget to turn off Debug output afterwards if this is a live site. If you prefer not to show errors on the site at all, you can also enable Debug Logging in WordPress or check your PHP error logs (if you have access to them via your host).

    The most common reason for a 500 error is because the plugin hit your server memory limit. More about this here:
    Solving Memory Issues

    Sometimes a 500/fatal error can also be the result of code in a custom template or filter, which you an rule out by (temporarily) switching back to the default ‘Simple’ template and turning off any code snippets (actions/filters) related to PDF invoices (if you used any).

    If that doesn’t help – please open a new topic on this forum and we’ll do our best to help you resolve the issue!

    Ewout

  • The topic ‘500 Internal Server Error / blank page’ is closed to new replies.