Page 1 of 1
Undefined index: payment_address. Looking for help!
Posted: Tue Jun 04, 2019 4:46 pm
by Nicklez23
Getting the following error when I want to pay on my website (rstrading.nl). I have no problems though, seems like everything is working, but I am worried about the error.
2019-06-04 8:59:41 - PHP Warning: unlink(/home/rstrading/domains/rstrading.nl/storage_prod/cache/cache.catalog.language.1559642381): No such file or directory in /home/rstrading/domains/rstrading.nl/public_html/system/library/cache/file.php on line 68
2019-06-04 9:00:14 - PHP Notice: Undefined index: payment_address in /home/rstrading/domains/rstrading.nl/public_html/vqmod/vqcache/vq2-catalog_controller_journal2_checkout.php on line 49
I attached the specific file that gives the error.
Thanks in advance.
Re: Undefined index: payment_address. Looking for help!
Posted: Tue Jun 04, 2019 5:23 pm
by dparakhiya
Nicklez23 wrote: ↑Tue Jun 04, 2019 4:46 pm
2019-06-04 8:59:41 - PHP Warning: unlink(/home/rstrading/domains/rstrading.nl/storage_prod/cache/cache.catalog.language.1559642381): No such file or directory in /home/rstrading/domains/rstrading.nl/public_html/system/library/cache/file.php on line 68
Solution :
viewtopic.php?t=186797#p703613
2019-06-04 9:00:14 - PHP Notice: Undefined index: payment_address in /home/rstrading/domains/rstrading.nl/public_html/vqmod/vqcache/vq2-catalog_controller_journal2_checkout.php on line 49
first need to check is "payment_address" is store on session or not
Re: Undefined index: payment_address. Looking for help!
Posted: Tue Jun 04, 2019 5:56 pm
by Nicklez23
Check your email, I sent you an email.
Re: Undefined index: payment_address. Looking for help!
Posted: Tue Jun 04, 2019 7:27 pm
by straightlight
FAQ:
viewtopic.php?f=176&p=755050#p750077 . There's nothing to send an email about since this information is already more than public. In addition, this issue has already been fixed on the GitHub master branch.
Re: Undefined index: payment_address. Looking for help!
Posted: Tue Jun 04, 2019 7:58 pm
by Nicklez23
straightlight wrote: ↑Tue Jun 04, 2019 7:27 pm
FAQ:
viewtopic.php?f=176&p=755050#p750077 . There's nothing to send an email about since this information is already more than public. In addition, this issue has already been fixed on the GitHub master branch.
I already fixed that problem. I didn't fix this problem yet:
2019-06-04 11:49:20 - PHP Notice: Undefined index: payment_address in /home/rstrading/domains/rstrading.nl/public_html/vqmod/vqcache/vq2-catalog_controller_journal2_checkout.php on line 49
I tried some things, but it didn't go away. The error appeared after updating the EU VAT Compliant extension. I already contacted the developer, I am currently waiting for a response. But my boss is a bit pissed about this error, cause customers are not buying right now. So I am trying to find a solution a.s.a.p, that's why I made a post. Any help is welcome.
Re: Undefined index: payment_address. Looking for help!
Posted: Tue Jun 04, 2019 8:07 pm
by JNeuhoff
It would be good if the OP had provided some more details, such as OC version used, what extensions are installed, and the exact steps on how to reproduce this error. Also, using the Journal2 theme always is risky because of its poor implementation. Perhaps test it with the default theme temporarily enabled to see whether the error then disappears or not?
Re: Undefined index: payment_address. Looking for help!
Posted: Tue Jun 04, 2019 8:20 pm
by Nicklez23
Hey, thanks for your response.
Opencart v3.0.2.0
Journal theme (v.2.16.

+ Quick Checkout)
Like I said before, the error appeared since I updated EU VAT Compliant, but I already contacted the developer of this extension. So I was looking for an answer here.
Error pops up when I add a product to shopping cart and then go to the shopping cart.
It's 100% possible to finish the order, but the error stops our customers from finishing the order, as they do not know what the error means.
Sorry if I was not clear and didn't provide enough details. Usually I never have any problems with my websites.
Re: Undefined index: payment_address. Looking for help!
Posted: Tue Jun 04, 2019 8:27 pm
by letxobnav
That need not be an error and is just classified as a notice.
It simply is trying to use the array index 'payment_address' which is not there.
Could very well be that it need not be there and they simply forgot to do the isset check which would prevent the notice.
Not sure why you would lose customers over this unless you are displaying notices and errors to customers.
Re: Undefined index: payment_address. Looking for help!
Posted: Tue Jun 04, 2019 8:43 pm
by Nicklez23
OK thanks for your information and help. I will try some things.
Re: Undefined index: payment_address. Looking for help!
Posted: Wed Jun 05, 2019 6:06 am
by straightlight
Already fixed on my GitHub namespace for this issue.
Re: Undefined index: payment_address. Looking for help!
Posted: Wed Jun 05, 2019 5:47 pm
by paulfeakins
JNeuhoff wrote: ↑Tue Jun 04, 2019 8:07 pm
using the Journal2 theme always is risky because of its poor implementation
Agreed, it looks nice but it's terrible to work with.