VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: ermes on August 06, 2018, 20:07:23 PM

Title: Bug on Invoice pdf generation
Post by: ermes on August 06, 2018, 20:07:23 PM
Hi to all,
on last version of vm (3.2.14) i have an error on generating pdf invoice. The PDF is unredable because is printed a php notice into pdf file.

<br />
<b>Notice</b>:  Undefined variable: invoiceNumberDate in <b>/components/com_virtuemart/controllers/invoice.php</b> on line <b>233</b><br />
<br />
<b>Notice</b>:  Undefined variable: invoiceNumberDate in <b>/components/com_virtuemart/controllers/invoice.php</b> on line <b>234</b><br />

To show this error set maximum error report in joomla.
Title: Re: Bug on Invoice pdf generation
Post by: Studio 42 on August 07, 2018, 18:44:46 PM
Turn PHP debug off, the time someone in the team fix it.
Of course check if missing invoiceNumberDate  not disturb your PDF content.