Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

and a new Error
(1 viewing) (1) Guest
Support forum for customers who have purchased this product. Archive only, no new post can be added.

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.
  • Page:
  • 1

TOPIC: and a new Error

and a new Error 13 years, 3 months ago #19772

Warning: Invalid argument supplied for foreach() in administrator/components/com_vminvoice/helpers/vminvoice.php on line 379


public function AddPage(&$pdf, $orderID, $deliveryNote)
{
$html = new InvoiceHTML($orderID, $deliveryNote);
$code = $html->generateHTML();

$code = str_replace(' ', '', $code);
$pdf->setHTML($html);
$pdf->AddPage();
// check and fill image paths
$images = $this->getImages($code);
foreach ($images[1] as $image) {
if (substr($image, 0, strlen(JURI::root(true))) != JURI::root(true) || strlen(JURI::root(true)) == 0) {
$code = str_replace($image, JURI::root(true) . '/' . $image, $code);
}
}
$pdf->writeHTML($code, true, false, false, false, '');
}
The topic has been locked.

Re: and a new Error 13 years, 3 months ago #19787

  • jaku
Hello,
thanks for report. Patched in 1.4.2.
The topic has been locked.
  • Page:
  • 1
User Login Empty