Author Topic: Blank invoices with one of the payment methods  (Read 987 times)

alxcre

  • Beginner
  • *
  • Posts: 11
Blank invoices with one of the payment methods
« on: February 04, 2019, 10:33:28 am »
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

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2898
  • VirtueMart Version: 3.4
Re: Blank invoices with
« Reply #1 on: February 04, 2019, 11:53:19 am »
Have you got an image for the payment method - it may be that is the problem
regards
A

Joomla 3.9.1
php 7.1

alxcre

  • Beginner
  • *
  • Posts: 11
Re: Blank invoices with
« Reply #2 on: February 05, 2019, 10:03:31 am »
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

  • Global Moderator
  • Full Member
  • *
  • Posts: 2166
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: Blank invoices with one of the payment methods
« Reply #3 on: February 05, 2019, 10:53:39 am »
You should upload an appropriate image (logo) in:

/images/virtuemart/payment

Jörgen @ Kreativ Fotografi
Joomla 3.9.8
Virtuemart 3.4.x
Olympiantheme Hera (customized)

AH

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2898
  • VirtueMart Version: 3.4
Re: Blank invoices with one of the payment methods
« Reply #4 on: February 05, 2019, 12:29:05 pm »
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 3.9.1
php 7.1

alxcre

  • Beginner
  • *
  • Posts: 11
Re: Blank invoices with one of the payment methods
« Reply #5 on: February 06, 2019, 12:25:07 pm »
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

  • Global Moderator
  • Full Member
  • *
  • Posts: 2166
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: Blank invoices with one of the payment methods
« Reply #6 on: February 06, 2019, 13:21:06 pm »
What is it with the Label "Encrypt that" ? Are You really using Standard Payment.

Jörgen @ Kreativ Fotografi
Joomla 3.9.8
Virtuemart 3.4.x
Olympiantheme Hera (customized)

alxcre

  • Beginner
  • *
  • Posts: 11
Re: Blank invoices with one of the payment methods
« Reply #7 on: February 07, 2019, 11:12:00 am »
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

  • Global Moderator
  • Full Member
  • *
  • Posts: 2166
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: Blank invoices with one of the payment methods
« Reply #8 on: February 07, 2019, 12:42:12 pm »
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.8
Virtuemart 3.4.x
Olympiantheme Hera (customized)

alxcre

  • Beginner
  • *
  • Posts: 11
Re: Blank invoices with one of the payment methods
« Reply #9 on: February 08, 2019, 14:40:22 pm »
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

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 3839
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
Re: Blank invoices with one of the payment methods
« Reply #10 on: February 09, 2019, 22:53:19 pm »
Try to temp switch to protostar template and do a test.

alxcre

  • Beginner
  • *
  • Posts: 11
Re: Blank invoices with one of the payment methods
« Reply #11 on: February 13, 2019, 16:09:17 pm »
Hi,

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

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 3839
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
Re: Blank invoices with one of the payment methods
« Reply #12 on: February 13, 2019, 17:51:49 pm »
You have to enable PHP debug and check your error.log file to see the error.

alxcre

  • Beginner
  • *
  • Posts: 11
Re: Blank invoices with one of the payment methods
« Reply #13 on: February 27, 2019, 10:59:47 am »
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

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 8892
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.4.2
Re: Blank invoices with one of the payment methods
« Reply #14 on: February 27, 2019, 13:44:36 pm »
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 http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation