News:

Looking for documentation? Take a look on our wiki

Main Menu

Blank invoices with one of the payment methods

Started by alxcre, February 04, 2019, 10:33:28 AM

Previous topic - Next topic

alxcre

Hi,

I have notice that since the last update of VM and Joomla some invoices are blank. The blank invoices are created with the payment method "Bank transfer" (VM payment standard) and is showing the header (logo, date, order number, invoice number, etc) but the lines with the items detail and total are lost. With Paypal method the invoices are correct. If I click in the printer icon the invoice is showed with all the data, so I supposse that is a problem with the PDF creation.
My VM version is 3.4.2
Joomla version is 3.9.1
Thanks for your help and best regards,

AH

Have you got an image for the payment method - it may be that is the problem
Regards
A

Joomla 4.4.5
php 8.1

alxcre

#2
Hi AH,

Thanks for your response. I have been checking the payment method and the only option that I see related with images is the option "Logos". Here I have three options: "use default", "index.html" and "use all of them" but none is working and I can not let this field blank.

Best regards,

Jörgen

You should upload an appropriate image (logo) in:

/images/virtuemart/payment

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

AH

I mean - that you should try without images in your payment method

But looks like that is already set to be none

Regards
A

Joomla 4.4.5
php 8.1

alxcre

Hi all,

Thanks for your help. I did what Jörgen told me, I upload the logo to the path and I selected it in the payment method, field logo , but the problem persist.

Best regards,

Jörgen

What is it with the Label "Encrypt that" ? Are You really using Standard Payment.

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

alxcre

Hi Jörgen,

Yes, i have checked again and is standard, you can see it in the top right corner of the image.

Thanks for your help and regads,

Jörgen

I can not see any "encrypt that" in my standard payment. Are You using some kind of custom template ?
Maybe there is a issue with Your language file, try to switch to english in back end and see if it changes.
Maybe load the VM update via FTP once again.

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

alxcre

Hi Jörgen,

I am using custom template in fron, no in back, invoices or virtuemart.
I tried changing the language to english but the problem persist.
I have upload the las VM version again and it´s not the solution. I will try via FTP and I will tell you if it works.

At the moment I am changing the plugin to "Paypal", printing the invoices, and changing again to "Standard". It is the only way to make it works.

Thanks and regards,

Studio 42

Try to temp switch to protostar template and do a test.

alxcre

Hi,

After change to protostar template the problem persist.
Anyone has more ideas?
Regards,

Studio 42

You have to enable PHP debug and check your error.log file to see the error.

alxcre

Hi,

I did all you told me:
- Add image to payment method.
- I have changed to custom templates in front.
- I have chaned the language to enghish.
- I have activated the debug mode.
And finally this is the file:

[27-Feb-2019 09:32:31 UTC] PHP Warning:  array_push() expects parameter 1 to be array, null given in /home/ejemploscalamars/public_html/nsm/libraries/vendor/tecnickcom/tcpdf/tcpdf.php on line 16925
[27-Feb-2019 09:32:31 UTC] PHP Warning:  array_push() expects parameter 1 to be array, null given in /home/ejemploscalamars/public_html/nsm/libraries/vendor/tecnickcom/tcpdf/tcpdf.php on line 16925
[27-Feb-2019 09:32:31 UTC] PHP Warning:  array_push() expects parameter 1 to be array, null given in /home/ejemploscalamars/public_html/nsm/libraries/vendor/tecnickcom/tcpdf/tcpdf.php on line 16925
[27-Feb-2019 09:32:31 UTC] PHP Warning:  array_push() expects parameter 1 to be array, null given in /home/ejemploscalamars/public_html/nsm/libraries/vendor/tecnickcom/tcpdf/tcpdf.php on line 16925
[27-Feb-2019 09:32:31 UTC] PHP Warning:  array_push() expects parameter 1 to be array, null given in /home/ejemploscalamars/public_html/nsm/libraries/vendor/tecnickcom/tcpdf/tcpdf.php on line 16925
[27-Feb-2019 09:32:56 UTC] PHP Warning:  array_push() expects parameter 1 to be array, null given in /home/ejemploscalamars/public_html/nsm/libraries/vendor/tecnickcom/tcpdf/tcpdf.php on line 16925
[27-Feb-2019 09:32:56 UTC] PHP Warning:  array_push() expects parameter 1 to be array, null given in /home/ejemploscalamars/public_html/nsm/libraries/vendor/tecnickcom/tcpdf/tcpdf.php on line 16925
[27-Feb-2019 09:32:56 UTC] PHP Warning:  array_push() expects parameter 1 to be array, null given in /home/ejemploscalamars/public_html/nsm/libraries/vendor/tecnickcom/tcpdf/tcpdf.php on line 16925
[27-Feb-2019 09:32:56 UTC] PHP Warning:  array_push() expects parameter 1 to be array, null given in /home/ejemploscalamars/public_html/nsm/libraries/vendor/tecnickcom/tcpdf/tcpdf.php on line 16925
[27-Feb-2019 09:32:56 UTC] PHP Warning:  array_push() expects parameter 1 to be array, null given in /home/ejemploscalamars/public_html/nsm/libraries/vendor/tecnickcom/tcpdf/tcpdf.php on line 16925
[27-Feb-2019 09:33:21 UTC] PHP Warning:  Illegal string offset 'url' in /home/ejemploscalamars/public_html/nsm/libraries/vendor/tecnickcom/tcpdf/tcpdf.php on line 18814
[27-Feb-2019 09:40:41 UTC] PHP Notice:  Undefined index: rows in /home/ejemploscalamars/public_html/nsm/libraries/vendor/tecnickcom/tcpdf/tcpdf.php on line 16923
[27-Feb-2019 09:40:41 UTC] PHP Warning:  array_push() expects parameter 1 to be array, null given in /home/ejemploscalamars/public_html/nsm/libraries/vendor/tecnickcom/tcpdf/tcpdf.php on line 16925
[27-Feb-2019 09:40:41 UTC] PHP Warning:  array_push() expects parameter 1 to be array, null given in /home/ejemploscalamars/public_html/nsm/libraries/vendor/tecnickcom/tcpdf/tcpdf.php on line 16925
[27-Feb-2019 09:40:41 UTC] PHP Warning:  array_push() expects parameter 1 to be array, null given in /home/ejemploscalamars/public_html/nsm/libraries/vendor/tecnickcom/tcpdf/tcpdf.php on line 16925
[27-Feb-2019 09:40:41 UTC] PHP Notice:  Undefined index: thead in /home/ejemploscalamars/public_html/nsm/libraries/vendor/tecnickcom/tcpdf/tcpdf.php on line 16505
[27-Feb-2019 09:40:41 UTC] PHP Notice:  Undefined index: rows in /home/ejemploscalamars/public_html/nsm/libraries/vendor/tecnickcom/tcpdf/tcpdf.php on line 16923
[27-Feb-2019 09:40:41 UTC] PHP Warning:  array_push() expects parameter 1 to be array, null given in /home/ejemploscalamars/public_html/nsm/libraries/vendor/tecnickcom/tcpdf/tcpdf.php on line 16925
[27-Feb-2019 09:40:41 UTC] PHP Warning:  array_push() expects parameter 1 to be array, null given in /home/ejemploscalamars/public_html/nsm/libraries/vendor/tecnickcom/tcpdf/tcpdf.php on line 16925
[27-Feb-2019 09:40:41 UTC] PHP Notice:  Undefined index: thead in /home/ejemploscalamars/public_html/nsm/libraries/vendor/tecnickcom/tcpdf/tcpdf.php on line 16505
[27-Feb-2019 09:40:41 UTC] PHP Notice:  Undefined offset: 639 in /home/ejemploscalamars/public_html/nsm/libraries/vendor/tecnickcom/tcpdf/tcpdf.php on line 18657
[27-Feb-2019 09:41:30 UTC] PHP Notice:  Undefined index: rows in /home/ejemploscalamars/public_html/nsm/libraries/vendor/tecnickcom/tcpdf/tcpdf.php on line 16923
[27-Feb-2019 09:41:30 UTC] PHP Warning:  array_push() expects parameter 1 to be array, null given in /home/ejemploscalamars/public_html/nsm/libraries/vendor/tecnickcom/tcpdf/tcpdf.php on line 16925
[27-Feb-2019 09:41:30 UTC] PHP Warning:  array_push() expects parameter 1 to be array, null given in /home/ejemploscalamars/public_html/nsm/libraries/vendor/tecnickcom/tcpdf/tcpdf.php on line 16925
[27-Feb-2019 09:41:30 UTC] PHP Warning:  array_push() expects parameter 1 to be array, null given in /home/ejemploscalamars/public_html/nsm/libraries/vendor/tecnickcom/tcpdf/tcpdf.php on line 16925
[27-Feb-2019 09:41:30 UTC] PHP Notice:  Undefined index: thead in /home/ejemploscalamars/public_html/nsm/libraries/vendor/tecnickcom/tcpdf/tcpdf.php on line 16505
[27-Feb-2019 09:41:30 UTC] PHP Notice:  Undefined index: rows in /home/ejemploscalamars/public_html/nsm/libraries/vendor/tecnickcom/tcpdf/tcpdf.php on line 16923
[27-Feb-2019 09:41:30 UTC] PHP Warning:  array_push() expects parameter 1 to be array, null given in /home/ejemploscalamars/public_html/nsm/libraries/vendor/tecnickcom/tcpdf/tcpdf.php on line 16925
[27-Feb-2019 09:41:30 UTC] PHP Warning:  array_push() expects parameter 1 to be array, null given in /home/ejemploscalamars/public_html/nsm/libraries/vendor/tecnickcom/tcpdf/tcpdf.php on line 16925
[27-Feb-2019 09:41:30 UTC] PHP Notice:  Undefined index: thead in /home/ejemploscalamars/public_html/nsm/libraries/vendor/tecnickcom/tcpdf/tcpdf.php on line 16505
[27-Feb-2019 09:41:30 UTC] PHP Notice:  Undefined offset: 688 in /home/ejemploscalamars/public_html/nsm/libraries/vendor/tecnickcom/tcpdf/tcpdf.php on line 18657
[27-Feb-2019 09:42:39 UTC] PHP Notice:  Undefined index: rows in /home/ejemploscalamars/public_html/nsm/libraries/vendor/tecnickcom/tcpdf/tcpdf.php on line 16923
[27-Feb-2019 09:42:39 UTC] PHP Warning:  array_push() expects parameter 1 to be array, null given in /home/ejemploscalamars/public_html/nsm/libraries/vendor/tecnickcom/tcpdf/tcpdf.php on line 16925
[27-Feb-2019 09:42:39 UTC] PHP Warning:  array_push() expects parameter 1 to be array, null given in /home/ejemploscalamars/public_html/nsm/libraries/vendor/tecnickcom/tcpdf/tcpdf.php on line 16925
[27-Feb-2019 09:42:39 UTC] PHP Warning:  array_push() expects parameter 1 to be array, null given in /home/ejemploscalamars/public_html/nsm/libraries/vendor/tecnickcom/tcpdf/tcpdf.php on line 16925
[27-Feb-2019 09:42:39 UTC] PHP Notice:  Undefined index: thead in /home/ejemploscalamars/public_html/nsm/libraries/vendor/tecnickcom/tcpdf/tcpdf.php on line 16505
[27-Feb-2019 09:42:39 UTC] PHP Notice:  Undefined index: rows in /home/ejemploscalamars/public_html/nsm/libraries/vendor/tecnickcom/tcpdf/tcpdf.php on line 16923
[27-Feb-2019 09:42:39 UTC] PHP Warning:  array_push() expects parameter 1 to be array, null given in /home/ejemploscalamars/public_html/nsm/libraries/vendor/tecnickcom/tcpdf/tcpdf.php on line 16925
[27-Feb-2019 09:42:39 UTC] PHP Warning:  array_push() expects parameter 1 to be array, null given in /home/ejemploscalamars/public_html/nsm/libraries/vendor/tecnickcom/tcpdf/tcpdf.php on line 16925
[27-Feb-2019 09:42:39 UTC] PHP Notice:  Undefined index: thead in /home/ejemploscalamars/public_html/nsm/libraries/vendor/tecnickcom/tcpdf/tcpdf.php on line 16505
[27-Feb-2019 09:42:39 UTC] PHP Notice:  Undefined offset: 677 in /home/ejemploscalamars/public_html/nsm/libraries/vendor/tecnickcom/tcpdf/tcpdf.php on line 18657
[27-Feb-2019 09:42:48 UTC] PHP Notice:  Undefined index: rows in /home/ejemploscalamars/public_html/nsm/libraries/vendor/tecnickcom/tcpdf/tcpdf.php on line 16923
[27-Feb-2019 09:42:48 UTC] PHP Warning:  array_push() expects parameter 1 to be array, null given in /home/ejemploscalamars/public_html/nsm/libraries/vendor/tecnickcom/tcpdf/tcpdf.php on line 16925
[27-Feb-2019 09:42:48 UTC] PHP Warning:  array_push() expects parameter 1 to be array, null given in /home/ejemploscalamars/public_html/nsm/libraries/vendor/tecnickcom/tcpdf/tcpdf.php on line 16925
[27-Feb-2019 09:42:48 UTC] PHP Warning:  array_push() expects parameter 1 to be array, null given in /home/ejemploscalamars/public_html/nsm/libraries/vendor/tecnickcom/tcpdf/tcpdf.php on line 16925
[27-Feb-2019 09:42:48 UTC] PHP Notice:  Undefined index: thead in /home/ejemploscalamars/public_html/nsm/libraries/vendor/tecnickcom/tcpdf/tcpdf.php on line 16505
[27-Feb-2019 09:42:48 UTC] PHP Notice:  Undefined index: rows in /home/ejemploscalamars/public_html/nsm/libraries/vendor/tecnickcom/tcpdf/tcpdf.php on line 16923
[27-Feb-2019 09:42:48 UTC] PHP Warning:  array_push() expects parameter 1 to be array, null given in /home/ejemploscalamars/public_html/nsm/libraries/vendor/tecnickcom/tcpdf/tcpdf.php on line 16925
[27-Feb-2019 09:42:48 UTC] PHP Warning:  array_push() expects parameter 1 to be array, null given in /home/ejemploscalamars/public_html/nsm/libraries/vendor/tecnickcom/tcpdf/tcpdf.php on line 16925
[27-Feb-2019 09:42:48 UTC] PHP Notice:  Undefined index: thead in /home/ejemploscalamars/public_html/nsm/libraries/vendor/tecnickcom/tcpdf/tcpdf.php on line 16505
[27-Feb-2019 09:42:48 UTC] PHP Notice:  Undefined offset: 644 in /home/ejemploscalamars/public_html/nsm/libraries/vendor/tecnickcom/tcpdf/tcpdf.php on line 18657

Can someone tell me what seems to be the problem?
Thanks in advance.


GJC Web Design

These are only notices and warnings .. not ideal but will not stop the creation of the pdf
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