[Skip to main content](#vessel-content)

#   Error in select shipping step

##

- **[davidmayne](/forum/user/32800-davidmayne "View davidmayne's Profile")**
- [![davidmayne's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32800-davidmayne "View davidmayne's Profile") Topic Author
- [ Offline](/forum/user/32800-davidmayne)

Less More

- Posts: 21
- Thank you received: 0
-
-

9 years 1 month ago [\#277877](#277877) by [davidmayne](/forum/user/32800-davidmayne "View davidmayne's Profile")  *[Error in select shipping step](/forum/27-checkout/891846-error-in-select-shipping-step#277877 "-- url of the page with the problem -- : localhost -- HikaShop version -- : 3.2.0 -- Joomla version -- : 3.7.5 -- PHP version -- : 7.0.9 -- Browser(s) name and version -- : chrome  Hi,  Just testing a new template for the site on localhost using non legacy settings. Checkout works fine in legacy mode and was working in hikashop 3.1.1.  In non legacy mode when using the dropdown list address selector i get php warning  Warning: Invalid argument supplied for foreach() in C:&#92;xampp&#92;htdocs&#92;sands2&#92;administrator&#92;components&#92;com&#95;hikashop&#92;classes&#92;address.php on line 496  I enclose a screenshot and a screenshot of my settings. Shipping is always free and customers often choose a different shipping address to billing address.  It works mostly ok when using the list mode but none of the addresses are by default selected and if the customer checks out no addresses are stored in the order.  Thanks,  David.")* was created by *[davidmayne](/forum/user/32800-davidmayne "View davidmayne's Profile")*

-- url of the page with the problem -- : localhost
-- HikaShop version -- : 3.2.0
-- Joomla version -- : 3.7.5
-- PHP version -- : 7.0.9
-- Browser(s) name and version -- : chrome

Hi,

Just testing a new template for the site on localhost using non legacy settings. Checkout works fine in legacy mode and was working in hikashop 3.1.1.

In non legacy mode when using the dropdown list address selector i get php warning

Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\sands2\administrator\components\com_hikashop\classes\address.php on line 496

I enclose a screenshot and a screenshot of my settings. Shipping is always free and customers often choose a different shipping address to billing address.

It works mostly ok when using the list mode but none of the addresses are by default selected and if the customer checks out no addresses are stored in the order.

Thanks,

David.

- [ ![Capture.PNG](/forum/attachment/40189) ](/forum/attachment/40189 "Capture.PNG") [ ](/forum/attachment/40189?download=1 "Capture.PNG")
- [ ![settings1.PNG](/forum/attachment/40190) ](/forum/attachment/40190 "settings1.PNG") [ ](/forum/attachment/40190?download=1 "settings1.PNG")
- [ ![settings2.PNG](/forum/attachment/40191) ](/forum/attachment/40191 "settings2.PNG") [ ](/forum/attachment/40191?download=1 "settings2.PNG")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5MTg0Ni1lcnJvci1pbi1zZWxlY3Qtc2hpcHBpbmctc3RlcD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

9 years 1 month ago [\#277945](#277945) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Error in select shipping step](/forum/27-checkout/891846-error-in-select-shipping-step#277945 "-- url of the page with the problem -- : localhost -- HikaShop version -- : 3.2.0 -- Joomla version -- : 3.7.5 -- PHP version -- : 7.0.9 -- Browser(s) name and version -- : chrome  Hi,  Just testing a new template for the site on localhost using non legacy settings. Checkout works fine in legacy mode and was working in hikashop 3.1.1.  In non legacy mode when using the dropdown list address selector i get php warning  Warning: Invalid argument supplied for foreach() in C:&#92;xampp&#92;htdocs&#92;sands2&#92;administrator&#92;components&#92;com&#95;hikashop&#92;classes&#92;address.php on line 496  I enclose a screenshot and a screenshot of my settings. Shipping is always free and customers often choose a different shipping address to billing address.  It works mostly ok when using the list mode but none of the addresses are by default selected and if the customer checks out no addresses are stored in the order.  Thanks,  David.")*

Hello David,

I didn't succeed to reproduce your issue even by setting the same checkout configuration, can you try it for example with a new user account ?

Thanks.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5MTg0Ni1lcnJvci1pbi1zZWxlY3Qtc2hpcHBpbmctc3RlcD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[davidmayne](/forum/user/32800-davidmayne "View davidmayne's Profile")**
- [![davidmayne's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32800-davidmayne "View davidmayne's Profile") Topic Author
- [ Offline](/forum/user/32800-davidmayne)

Less More

- Posts: 21
- Thank you received: 0
-
-

9 years 1 month ago [\#278142](#278142) by [davidmayne](/forum/user/32800-davidmayne "View davidmayne's Profile")  Replied by *[davidmayne](/forum/user/32800-davidmayne "View davidmayne's Profile")* on topic *[Error in select shipping step](/forum/27-checkout/891846-error-in-select-shipping-step#278142 "-- url of the page with the problem -- : localhost -- HikaShop version -- : 3.2.0 -- Joomla version -- : 3.7.5 -- PHP version -- : 7.0.9 -- Browser(s) name and version -- : chrome  Hi,  Just testing a new template for the site on localhost using non legacy settings. Checkout works fine in legacy mode and was working in hikashop 3.1.1.  In non legacy mode when using the dropdown list address selector i get php warning  Warning: Invalid argument supplied for foreach() in C:&#92;xampp&#92;htdocs&#92;sands2&#92;administrator&#92;components&#92;com&#95;hikashop&#92;classes&#92;address.php on line 496  I enclose a screenshot and a screenshot of my settings. Shipping is always free and customers often choose a different shipping address to billing address.  It works mostly ok when using the list mode but none of the addresses are by default selected and if the customer checks out no addresses are stored in the order.  Thanks,  David.")*

Hi,

The error persists no matter what I do! I have tried with a clean install of joomla and hikashop business with test data. The checkout workflow is single page unchanged from the test data. The only changes were made to the guest settings as in the attachment.

Like I said the list mode works but with no addresses selected thus allowing the customer to checkout with no addresses in the order.

In joomla allow joomla registration is deactivated.

You can see the result of checkout on the test server here [ tototoo.co.uk/test1/](http://tototoo.co.uk/test1/) Purchase a product from the category menu and checkout you will see that the shipping dropdown listbox has an error. If this was the list mode it would display ok but none of the addresses would be selected.

I just published the cart module to the sidebar so you can checkout. No other changes.

Bye,

David.

- [ ![settings.png](/forum/attachment/40257) ](/forum/attachment/40257 "settings.png") [ ](/forum/attachment/40257?download=1 "settings.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5MTg0Ni1lcnJvci1pbi1zZWxlY3Qtc2hpcHBpbmctc3RlcD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

9 years 1 month ago [\#278147](#278147) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Error in select shipping step](/forum/27-checkout/891846-error-in-select-shipping-step#278147 "-- url of the page with the problem -- : localhost -- HikaShop version -- : 3.2.0 -- Joomla version -- : 3.7.5 -- PHP version -- : 7.0.9 -- Browser(s) name and version -- : chrome  Hi,  Just testing a new template for the site on localhost using non legacy settings. Checkout works fine in legacy mode and was working in hikashop 3.1.1.  In non legacy mode when using the dropdown list address selector i get php warning  Warning: Invalid argument supplied for foreach() in C:&#92;xampp&#92;htdocs&#92;sands2&#92;administrator&#92;components&#92;com&#95;hikashop&#92;classes&#92;address.php on line 496  I enclose a screenshot and a screenshot of my settings. Shipping is always free and customers often choose a different shipping address to billing address.  It works mostly ok when using the list mode but none of the addresses are by default selected and if the customer checks out no addresses are stored in the order.  Thanks,  David.")*

Hi,

It seems to be an issue of HikaShop 3.2.0:
[ www.hikashop.com/forum/install-update/89...ing-any-address.html](https://www.hikashop.com/forum/install-update/891865-guest-user-can-check-out-without-selecting-any-address.html)
However, as explained there, we're not able to reproduce the issue on our end.
As explained there we'll need a test website with precise instructions to reproduce the problem with a backend and FTP access so that we can debug the issue.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5MTg0Ni1lcnJvci1pbi1zZWxlY3Qtc2hpcHBpbmctc3RlcD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.221 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
