Author Topic: Bug on Invoice pdf generation  (Read 163 times)

ermes

  • Beginner
  • *
  • Posts: 40
Bug on Invoice pdf generation
« 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.
Code: [Select]
<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.

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 3402
  • Joomla & Virtuemart addon developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 &amp; 3.0.x.y
Re: Bug on Invoice pdf generation
« Reply #1 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.