Internal Error when attempting to generate invoice
-
Hello,
When on the checkout page, if i click the ‘Place order’ button an error appears ‘Internal Error’. If I disable the PDF Invoices plugin it works.
When checking the error log this is what I’m getting:
2018-01-12T16:38:48+00:00 CRITICAL Uncaught exception ‘MpdfException’ with message ‘Unable to create output file: /home/linweb18/h/hedgeplants.com/user/htdocs/wp-content/uploads/woocommerce-pdf-invoices/attachments/2018/2235-2018.pdf’ in /home/linweb18/h/hedgeplants.com/user/htdocs/wp-content/plugins/woocommerce-pdf-invoices/vendor/mpdf/mpdf/mpdf.php:9442
Stack trace:
#0 /home/linweb18/h/hedgeplants.com/user/htdocs/wp-content/plugins/woocommerce-pdf-invoices/includes/abstracts/abstract-document.php(204): mPDF->Output(‘/home/linweb18/…’, ‘F’)
#1 /home/linweb18/h/hedgeplants.com/user/htdocs/wp-content/plugins/woocommerce-pdf-invoices/includes/abstracts/abstract-invoice.php(321): BEWPI_Abstract_Document->generate(‘F’)
#2 /home/linweb18/h/hedgeplants.com/user/htdocs/wp-content/plugins/woocommerce-pdf-invoices/includes/woocommerce-pdf-invoices.php(574): BEWPI_Abstract_Invoice->generate()
#3 [internal function]: BE_WooCommerce_PDF_Invoices->attach_invoice_to_email(Array, ‘new_order’, Object(WC_Order))
#4 /home/linweb18/h/hedgeplants.com/user/htdoc2018-02-02T12:16:48+00:00 CRITICAL Cannot access empty property
2018-02-02T12:16:55+00:00 CRITICAL Cannot access empty property
2018-02-02T12:19:40+00:00 CRITICAL Cannot access empty property
2018-02-02T12:39:16+00:00 CRITICAL Cannot access empty property
2018-02-02T12:43:08+00:00 CRITICAL Cannot access empty property
I’ve searched the errors on this forum and can see others having the same issue. Suggestions were saying that manually creating the 2018 folder in the attachments directory fixed the problem. However, when trying this the issue still remains.
can you help please?
- The topic ‘Internal Error when attempting to generate invoice’ is closed to new replies.