• Resolved geco06

    (@geco06)


    Hi,

    i’m using WooCommerce PDF Invoices v2.9.10
    in WooCommerce v3.2.6 and WordPress v4.9.1

    And i can’t generate a PDF Invoice because of a HTTP ERROR 500.
    Please could you help me ?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter geco06

    (@geco06)

    For your information, i enable the debug mode and now i have got this error message :

    Fatal error: Uncaught exception ‘MpdfException’ with message ‘Unable to create output file: /var/www/vhosts/massages-bien-etre-munster.fr/staging.massages-bien-etre-munster.fr/wp-content/uploads/woocommerce-pdf-invoices/attachments/2018/00033-2018.pdf’ in /var/www/vhosts/massages-bien-etre-munster.fr/staging.massages-bien-etre-munster.fr/wp-content/plugins/woocommerce-pdf-invoices/vendor/mpdf/mpdf/mpdf.php:9442 Stack trace: #0 /var/www/vhosts/massages-bien-etre-munster.fr/staging.massages-bien-etre-munster.fr/wp-content/plugins/woocommerce-pdf-invoices/includes/abstracts/abstract-document.php(204): mPDF->Output(‘/var/www/vhosts…’, ‘F’) #1 /var/www/vhosts/massages-bien-etre-munster.fr/staging.massages-bien-etre-munster.fr/wp-content/plugins/woocommerce-pdf-invoices/includes/abstracts/abstract-invoice.php(321): BEWPI_Abstract_Document->generate(‘F’) #2 /var/www/vhosts/massages-bien-etre-munster.fr/staging.massages-bien-etre-munster.fr/wp-content/plugins/woocommerce-pdf-invoices/includes/woocommerce-pdf-invoices.php(383): in /var/www/vhosts/massages-bien-etre-munster.fr/staging.massages-bien-etre-munster.fr/wp-content/plugins/woocommerce-pdf-invoices/vendor/mpdf/mpdf/mpdf.php on line 9442

    Thread Starter geco06

    (@geco06)

    Solved

    I create a 2018 folder in uploads/woocommerce-pdf-invoices/attchments
    and now it generate pdf invoice !

    • This reply was modified 7 years, 2 months ago by geco06.

    Same issue here. Solved by creating the 2018 folder too.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Can’t create a PDF invoice : HTTP ERROR 500’ is closed to new replies.