• Resolved miczak77

    (@miczak77)


    Hi.
    I had configured plugin and did work for a while.
    But now when I try to genetratea invoice pdf there I have an error 500.

    Now I have disabled this plugin because it bloked email sending mechanism – no email to costumer was send.

    I have read previous posts – I have ‘2018’ folder in uploads/woocommerce-pdf-invoices/attachments. I see there invoices that were generated before the error occured.

    Mayby the problem is related with invoices number – I have deleted invoice with first number (1).

    Any ideas?

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

    (@miczak77)

    Fatal error: Uncaught exception ‘MpdfException’ with message ‘Unable to create output file: /home/otoria/domains/natureandme.eu/public_html/wp-content/uploads/woocommerce-pdf-invoices/attachments/2018/0000042/SI/2018.pdf’ in /home/otoria/domains/natureandme.eu/public_html/wp-content/plugins/woocommerce-pdf-invoices/vendor/mpdf/mpdf/mpdf.php:9442 Stack trace: #0 /home/otoria/domains/natureandme.eu/public_html/wp-content/plugins/woocommerce-pdf-invoices/includes/abstracts/abstract-document.php(205): mPDF->Output(‘/home/otoria/do…’, ‘F’) #1 /home/otoria/domains/natureandme.eu/public_html/wp-content/plugins/woocommerce-pdf-invoices/includes/abstracts/abstract-invoice.php(327): BEWPI_Abstract_Document->generate(‘F’) #2 /home/otoria/domains/natureandme.eu/public_html/wp-content/plugins/woocommerce-pdf-invoices/includes/woocommerce-pdf-invoices.php(382): BEWPI_Abstract_Invoice->generate() #3 [internal function]: BE_WooCommerce_PDF_Invoices->admin_pdf_callback(”) #4 /home/otoria/domains/natureandme.eu/public_html/wp-includes/c in /home/otoria/domains/natureandme.eu/public_html/wp-content/plugins/woocommerce-pdf-invoices/vendor/mpdf/mpdf/mpdf.php on line 9442

    Thread Starter miczak77

    (@miczak77)

    Problem solved.

    Thread Starter miczak77

    (@miczak77)

    Cause: I’ve used sign ‘/’ in invoice number format field.
    The mechanism tried to use this sign as a folder separator so in debug you can see that pdf invoice try to be created in folder name related to invoice number format field.

    I’he replaced this sign to another.
    Everything works fine now.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Error 500’ is closed to new replies.