×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Error when trying to download invoices

Error when trying to download invoices 8 years 2 months ago #33242

  • Irene Scales
  • Irene Scales's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 28
  • Thank you received: 0
I have version 5.2.8

When I click on an invoice from the Bookings area I get the following error:

Warning: Invalid argument supplied for foreach() in /home/fmg/public_html/administrator/components/com_matukio/helpers/util_templates.php on line 344
TCPDF ERROR: Some data has already been output, can't send PDF file

How can I fix this?

Cheers
Irene

Error when trying to download invoices 8 years 2 months ago #33243

  • Yves Hoppe
  • Yves Hoppe's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 3519
  • Karma: 71
  • Thank you received: 556
Hi Irene,

somehow an warning is displayed before the output of the PDF, which breaks that. Not sure why, did you delete / create some custom fields for that event?

Anyhow you can just (and should) disable displaying of warnings in the Joomla global configuration. Set Error reporting to none. On productive servers you should never show them anyway.

Kind regards,
Yves

Error when trying to download invoices 8 years 2 months ago #33244

  • Irene Scales
  • Irene Scales's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 28
  • Thank you received: 0
Thanks Yves - I've disabled the display of warnings and now it is working.

Much appreciated.

cheers
Irene
  • Page:
  • 1
Time to create page: 0.157 seconds