AbanteCart Community

Shopping Cart Operations => Support => General Support => Topic started by: jetman on May 27, 2017, 09:40:55 PM

Title: guest_step_2 warning
Post by: jetman 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
Title: Re: guest_step_2 warning
Post by: abantecart 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