• Resolved wolpi

    (@wolpi)


    Hi, when I try to preview or download an already generated invoice, it gives an error below. Also, where can I delete the generated invoices? Thank you!

    The error:

    Warning: date_format() expects parameter 1 to be DateTimeInterface, bool given in /data/web/virtuals/183501/virtual/www/domains/pivovarantos.cz/eshop/wp-content/plugins/pdf-invoices-and-packing-slips-for-woocommerce/includes/class-apifw-invoice.php on line 1284

    Fatal error: Uncaught Mpdf\MpdfException: Data has already been sent to output (/data/web/virtuals/183501/virtual/www/domains/pivovarantos.cz/eshop/wp-content/plugins/pdf-invoices-and-packing-slips-for-woocommerce/includes/class-apifw-invoice.php at line 1284), unable to output PDF file in /data/web/virtuals/183501/virtual/www/domains/pivovarantos.cz/eshop/wp-content/plugins/pdf-invoices-and-packing-slips-for-woocommerce/includes/vendor/mpdf/mpdf/src/Mpdf.php:9510 Stack trace: #0 /data/web/virtuals/183501/virtual/www/domains/pivovarantos.cz/eshop/wp-content/plugins/pdf-invoices-and-packing-slips-for-woocommerce/includes/class-apifw-invoice.php(180): Mpdf\Mpdf->Output(‘Faktura-4529-00…’, ‘I’) #1 /data/web/virtuals/183501/virtual/www/domains/pivovarantos.cz/eshop/wp-content/plugins/pdf-invoices-and-packing-slips-for-woocommerce/includes/class-apifw-invoice.php(105): APIFW_Invoice->generate_invoice_pdf(Array, ‘inv_preview’) #2 /data/web/virtuals/183501/virtual/www/domains/pivovarantos.cz/eshop/wp-content/plugins/pdf-invoic in /data/web/virtuals/183501/virtual/www/domains/pivovarantos.cz/eshop/wp-content/plugins/pdf-invoices-and-packing-slips-for-woocommerce/includes/vendor/mpdf/mpdf/src/Mpdf.php on line 9510

Viewing 1 replies (of 1 total)
  • Hi,

    The invoice documents are only saving in the case of email attachments. You can see that documents in the ‘apifw_uploads’ folder in the WordPress uploads directory.

    Which date format are you using in invoice documents?

Viewing 1 replies (of 1 total)
  • The topic ‘Error while accessing invoice’ is closed to new replies.