Author Topic: guest_step_2 warning  (Read 3005 times)

Offline jetman

  • Newbie
  • *
  • Posts: 17
  • Karma: +3/-0
    • View Profile
guest_step_2 warning
« on: May 27, 2017, 09:40:55 PM »
Shipping modules: USPS, Fedex
PHP 7.0.19
LiteSpeed V6.10

Go to the guest checkout and enter an invalid zip code (ex 00000) for the delivery address on guest_step_1. The shipping modules on guest_step_2 show the correct error messages but this shows up in the error log:

2017-05-27 18:00:37 - warning: AbanteCart core v.1.2.10 Invalid argument supplied for foreach() in <b>/home/xxxx/public_html/storefront/controller/pages/checkout/guest_step_2.php</b> on line <b>336</b>

This should be a quick fix.

Jason
« Last Edit: May 27, 2017, 09:42:54 PM by jetman »

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4358
  • Karma: +298/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: guest_step_2 warning
« Reply #1 on: May 27, 2017, 11:16:55 PM »
Thank you for pointing out the issue.

I just fixed it and here is a link to the fix:
https://github.com/abantecart/abantecart-src/commit/23df380efcba9ad82b3740b8cdce0947d7df65f7

Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

 

Powered by SMFPacks Social Login Mod