Support » Plugin: WooCommerce PDF Invoices » Can’t generate invoice – fatal error

  • Resolved codeagency

    (@7grafix)


    When generating an invoice, it returns fatal error.
    I already tried creating the 2018 folder manually as suggested in other threads but it did work for my install.

    I have also enabled the mPDF debugging and it is returning this error:
    Error message detected – PDF file generation aborted.
    display_zero_rated_vat is verouderd sinds versie WooCommerce PDF Invoices v2.8, zonder beschikbaar alternatief.
    File: /var/www/clients/client27/web97/web/wp-includes/functions.php
    Line: 3841

    This is the error:

    Fatal error: Uncaught MpdfException: Unable to create output file: /var/www/clients/client27/web97/web/wp-content/uploads/woocommerce-pdf-invoices/attachments/2018/WF2018-0014.pdf in /var/www/clients/client27/web97/web/wp-content/plugins/woocommerce-pdf-invoices/vendor/mpdf/mpdf/mpdf.php:9442 Stack trace: #0 /var/www/clients/client27/web97/web/wp-content/plugins/woocommerce-pdf-invoices/includes/abstracts/abstract-document.php(204): mPDF->Output(‘/var/www/client…’, ‘F’) #1 /var/www/clients/client27/web97/web/wp-content/plugins/woocommerce-pdf-invoices/includes/abstracts/abstract-invoice.php(321): BEWPI_Abstract_Document->generate(‘F’) #2 /var/www/clients/client27/web97/web/wp-content/plugins/woocommerce-pdf-invoices/includes/woocommerce-pdf-invoices.php(383): BEWPI_Abstract_Invoice->generate() #3 /var/www/clients/client27/web97/web/wp-includes/class-wp-hook.php(286): BE_WooCommerce_PDF_Invoices->admin_pdf_callback(”) #4 /var/www/clients/client27/web97/web/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, in /var/www/clients/client27/web97/web/wp-content/plugins/woocommerce-pdf-invoices/vendor/mpdf/mpdf/mpdf.php on line 9442

    Is er oplossing/fix aub?

Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Can’t generate invoice – fatal error’ is closed to new replies.