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

#   billing address error

##

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

Less More

- Posts: 56
- Thank you received: 1
-
-

13 years 9 months ago [\#87638](#87638) by [RomainFaure](/forum/user/8290-romainfaure "View RomainFaure's Profile")  *[billing address error](/forum/5-support-en-francais-french-support-/77860-billing-address-error#87638 "Bonjour,  J'ai l'erreur récurrente ci-dessous lorsque je regarde des factures:  Warning: Invalid argument supplied for foreach() in monsite/administrator/components/com&#95;hikashop/views/order/tmpl/form&#95;address.php on line 36  Merci par avance!")* was created by *[RomainFaure](/forum/user/8290-romainfaure "View RomainFaure's Profile")*

Bonjour,

J'ai l'erreur récurrente ci-dessous lorsque je regarde des factures:

Warning: Invalid argument supplied for foreach() in monsite/administrator/components/com_hikashop/views/order/tmpl/form_address.php on line 36

Merci par avance!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vNzc4NjAtYmlsbGluZy1hZGRyZXNzLWVycm9yP3RtcGw9bWFya2Rvd24=) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

13 years 9 months ago [\#87728](#87728) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[billing address error](/forum/5-support-en-francais-french-support-/77860-billing-address-error#87728 "Bonjour,  J'ai l'erreur récurrente ci-dessous lorsque je regarde des factures:  Warning: Invalid argument supplied for foreach() in monsite/administrator/components/com&#95;hikashop/views/order/tmpl/form&#95;address.php on line 36  Merci par avance!")*

Bonjour,

Vous pouvez ajouter la ligne:
&lt;?php if(empty($this-&gt;order-&gt;fields)) return; ?&gt;

au début de ce fichier pour ne plus avoir l'erreur.

The following user(s) said Thank You: [RomainFaure](/forum/user/8290-romainfaure "View RomainFaure's Profile")

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

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

Less More

- Posts: 56
- Thank you received: 1
-
-

13 years 9 months ago [\#88179](#88179) by [RomainFaure](/forum/user/8290-romainfaure "View RomainFaure's Profile")  Replied by *[RomainFaure](/forum/user/8290-romainfaure "View RomainFaure's Profile")* on topic *[billing address error](/forum/5-support-en-francais-french-support-/77860-billing-address-error#88179 "Bonjour,  J'ai l'erreur récurrente ci-dessous lorsque je regarde des factures:  Warning: Invalid argument supplied for foreach() in monsite/administrator/components/com&#95;hikashop/views/order/tmpl/form&#95;address.php on line 36  Merci par avance!")*

Bonjour,

Du coup, ça veut dire que l'adresse du client ne s'affichera pas sur les factures?

Cordialement,

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vNzc4NjAtYmlsbGluZy1hZGRyZXNzLWVycm9yP3RtcGw9bWFya2Rvd24=) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

13 years 9 months ago [\#88334](#88334) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[billing address error](/forum/5-support-en-francais-french-support-/77860-billing-address-error#88334 "Bonjour,  J'ai l'erreur récurrente ci-dessous lorsque je regarde des factures:  Warning: Invalid argument supplied for foreach() in monsite/administrator/components/com&#95;hikashop/views/order/tmpl/form&#95;address.php on line 36  Merci par avance!")*

Bonjour,

Cette erreur signifie que tous les champs personnalisés de la table "adresse" sont désactivés. Donc il n'y a pas de champs pour l'adresse lors de l'enregistrement/passage en caisse et donc pas d'adresse à afficher. Du coup, forcément, l'adresse du client ne s'affiche pas sur les factures vu que le client ne l'a pas entré.

Il faudrait réactiver les champs pour que le client puisse entrer son adresse et ensuite l'avoir sur les factures si c'est ce que vous voulez.

The following user(s) said Thank You: [RomainFaure](/forum/user/8290-romainfaure "View RomainFaure's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vNzc4NjAtYmlsbGluZy1hZGRyZXNzLWVycm9yP3RtcGw9bWFya2Rvd24=) 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.050 seconds

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