Hi, I have Joomla 3 and I have upgraded Virtuemart to 4.2.0 10905 version.
I have an error when create a invoice in the order, error is vmError: getInvoicePDF Cant create pdf, no entry .
How resolve this problem?
Thanks for your help.
Have u removed/ have no - over-rides to test?
I don't have overrides. Anyone that know another solution? Thanks.
No reply... :(
I have VM4.2.2 (available in membership downloads) and have no issues creating invoices.
Does your system generate invoice numbers for orders after they get confirmed?
Quote from: StefanSTS on September 04, 2023, 10:23:16 AM
Does your system generate invoice numbers for orders after they get confirmed?
No... only if I clic button on order.
Quote from: jenkinhill on September 02, 2023, 17:34:21 PM
I have VM4.2.2 (available in membership downloads) and have no issues creating invoices.
I buy a membership and upgrade Virtuemart but problem not solved.
I have the same issue. The invoice number is not generated, and therefore invoice generation fails. I removed all plugins, themes, and overrides but no luck.
From Max Milbers via support ticket.
I think I found the problem. A fast solution, open the invoice model at /administrator/components/com_virtuemart/models/inovice.php around line 162, search for
function getExistingIfUnlockedCreateNewInvoiceNumber($orderDetails, &$invoiceNumber, $force_create_invoice = 0){
and just change the last 0 to null
function getExistingIfUnlockedCreateNewInvoiceNumber($orderDetails, &$invoiceNumber, $force_create_invoice = null){