News:

Looking for documentation? Take a look on our wiki

Main Menu

Invoice PDF error Warning: reset()

Started by urzh12, July 02, 2016, 15:40:49 PM

Previous topic - Next topic

urzh12

When customers receive an invoice PDF, there is an error under QTY. I read in forums this was caused by not setting a TAX item in backend which I did not have originally. I did set one but the error persist.

The invoice is generated with sandbox paypal too. The rest of the Invoice looks great otherwise..

Warning:
reset()
expects
parameter 1
to be array,
boolean
given in
/co
mponents/c
om_virtuem
art/views/in
voice/tmpl/i
nvoice_ite
ms.php on
line 77

Warning:
current()
expects
parameter 1
to be array,
boolean
given in
components/c
om_virtuem
art/views/in
voice/tmpl/i
nvoice_ite
ms.php on
line 78

Notice:
Trying to
get
property of
non-object
in
components/c
om_virtuem
art/views/in
voice/tmpl/i
nvoice_ite
ms.php on
line 79

Notice:
Trying to
get
property of
non-object
in components/c
om_virtuem
art/views/in
voice/tmpl/i
nvoice_ite
ms.php on
line 79

GJC Web Design

you have your reporting set far too high .. notices shouldn't be displayed at the FE

switch it down in joomla or at server level to only show errors
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

urzh12

Thank you. My error reporting in Joomla backend was set to maximum.