Error message when creating invoice
-
Hi,
I’m receiving an error when I try to create an invoice. WordPress did send the e-mail below. I tried downgrading my php version to 8.0 and also 7.4 but this did not solve the problem. Hope you can help me out finding a solution.
WordPress versie 5.9.2
Huidig thema: Soap7 custom made theme
Huidige plugin: Invoices for WooCommerce (versie 3.1.9) PHP versie 8.1.3Foutdetails
===========
Een fout van het type E_ERROR werd veroorzaakt op regelnummer 297 van het bestand /home/ploi/www.soap7.com/web/app/plugins/woocommerce-pdf-invoices/vendor/mpdf/mpdf/classes/otl.php. Foutmelding: Uncaught MpdfException: Can’t open file /home/ploi/www.soap7.com/web/app/uploads/woocommerce-pdf-invoices/mpdf/ttfontdata/dejavusanscondensed.GSUBGPOStables.dat in /home/ploi/www.soap7.com/web/app/plugins/woocommerce-pdf-invoices/vendor/mpdf/mpdf/classes/otl.php:297
Stack trace:
#0 /home/ploi/www.soap7.com/web/app/plugins/woocommerce-pdf-invoices/vendor/mpdf/mpdf/mpdf.php(16209): otl->applyOTL()
#1 /home/ploi/www.soap7.com/web/app/plugins/woocommerce-pdf-invoices/vendor/mpdf/mpdf/mpdf.php(15102): mPDF->WriteHTML()
#2 /home/ploi/www.soap7.com/web/app/plugins/woocommerce-pdf-invoices/vendor/mpdf/mpdf/mpdf.php(15032): mPDF->_getHtmlHeight()
#3 /home/ploi/www.soap7.com/web/app/plugins/woocommerce-pdf-invoices/includes/abstracts/abstract-document.php(190): mPDF->SetHTMLFooter()
#4 /home/ploi/www.soap7.com/web/app/plugins/woocommerce-pdf-invoices/includes/abstracts/abstract-invoice.php(319): BEWPI_Abstract_Document->generate()
#5 /home/ploi/www.soap7.com/web/app/plugins/woocommerce-pdf-invoices/includes/woocommerce-pdf-invoices.php(363): BEWPI_Abstract_Invoice->generate()
#6 /home/ploi/www.soap7.com/web/wp/wp-includes/class-wp-hook.php(307): BE_WooCommerce_PDF_Invoices->admin_pdf_callback()
#7 /home/ploi/www.soap7.com/web/wp/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#8 /home/ploi/www.soap7.com/web/wp/wp-includes/plugin.php(474): WP_Hook->do_action()
#9 /home/ploi/www.soap7.com/web/wp/wp-admin/admin.php(175): do_action()
#10 /home/ploi/www.soap7.com/web/wp/wp-admin/post.php(12): require_once(‘…’)
#11 {main}
thrownAlso my debug log shows the following error:
Stack trace: #0 /home/ploi/www.soap7.com/web/app/plugins/woocommerce-pdf-invoices/vendor/mpdf/mpdf/mpdf.php(16209): otl->applyOTL() #1 /home/ploi/www.soap7.com/web/app/plugins/woocommerce-pdf-invoices/vendor/mpdf/mpdf/mpdf.php(15102): mPDF->WriteHTML() #2 /home/ploi/www.soap7.com/web/app/plugins/woocommerce-pdf-invoices/vendor/mpdf/mpdf/mpdf.php(15032): mPDF->_getHtmlHeight() #3 /home/ploi/www.soap7.com/web/app/plugins/woocommerce-pdf-invoices/includes/abstracts/abstract-document.php(190): mPDF->SetHTMLFooter() #4 /home/ploi/www.soap7.com/web/app/plugins/woocommerce-pdf-invoices/includes/abstracts/abstract-invoice.php(319): BEWPI_Abstract_Document->generate() #5 /home/ploi/www.soap7.com/web/app/plugins/wo" while reading response header from upstream, client: 217.21.206.111, server: www.soap7.com, request: "GET /wp/wp-admin/post.php?post=12730&action=edit&bewpi_action=create&nonce=b044f7e695 HTTP/2.0", upstream: "fastcgi://unix:/run/php/php8.0-fpm.sock:", host: "www.soap7.com", referrer: "https://www.soap7.com/wp/wp-admin/post.php?post=12730&action=edit"
- The topic ‘Error message when creating invoice’ is closed to new replies.