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

#   Warning error Invalid Argument

##

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

Less More

- Posts: 301
- Thank you received: 6
-
-

7 years 5 months ago -  7 years 5 months ago [\#307649](#307649) by [fan4chevy](/forum/user/9567-fan4chevy "View fan4chevy's Profile")  *[Warning error Invalid Argument](/forum/22-market-bug-report/897678-warning-error-invalid-argument#307649 "I am getting an error on the vendor page for adding new product. I do not get it if I log in as super user though. Warning: Invalid argument supplied for foreach() in /home/public&#95;html/administrator/components/com&#95;hikamarket/classes/config.php on line 162")* was created by *[fan4chevy](/forum/user/9567-fan4chevy "View fan4chevy's Profile")*

I am getting an error on the vendor page for adding new product. I do not get it if I log in as super user though.
Warning: Invalid argument supplied for foreach() in /home/public_html/administrator/components/com_hikamarket/classes/config.php on line 162

[ ![ErrorOnNewProductPage.PNG](/forum/attachment/47023) ](/forum/attachment/47023 "...roductPage.PNG")

- [ ![ErrorOnNewProductPage.PNG](/forum/attachment/47023) ](/forum/attachment/47023 "...roductPage.PNG") [ ](/forum/attachment/47023?download=1 "...roductPage.PNG")

Last edit: 7 years 5 months ago by [fan4chevy](/forum/user/9567-fan4chevy "View fan4chevy's Profile").

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

7 years 5 months ago [\#307665](#307665) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Warning error Invalid Argument](/forum/22-market-bug-report/897678-warning-error-invalid-argument#307665 "I am getting an error on the vendor page for adding new product. I do not get it if I log in as super user though. Warning: Invalid argument supplied for foreach() in /home/public&#95;html/administrator/components/com&#95;hikamarket/classes/config.php on line 162")*

Hello,

The error means that your vendor do have some incorrect data for its vendor accesses.
Please check the vendor details in the backend ; but since you have another thread with vendor saving and empty required fields, it might be related.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 301
- Thank you received: 6
-
-

7 years 5 months ago -  7 years 5 months ago [\#307667](#307667) by [fan4chevy](/forum/user/9567-fan4chevy "View fan4chevy's Profile")  Replied by *[fan4chevy](/forum/user/9567-fan4chevy "View fan4chevy's Profile")* on topic *[Warning error Invalid Argument](/forum/22-market-bug-report/897678-warning-error-invalid-argument#307667 "I am getting an error on the vendor page for adding new product. I do not get it if I log in as super user though. Warning: Invalid argument supplied for foreach() in /home/public&#95;html/administrator/components/com&#95;hikamarket/classes/config.php on line 162")*

It turned out that the vendor did not have the required address filled in. Not sure how I was able to register the test vendor without having the required fields input. Seems like it would make me put them in before proceeding.

So I added info in the address and the error is gone.

Last edit: 7 years 5 months ago by [fan4chevy](/forum/user/9567-fan4chevy "View fan4chevy's Profile").

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

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

Less More

- Posts: 26
- Thank you received: 3
-

6 years 6 months ago [\#319364](#319364) by [InSite](/forum/user/57025-insite "View InSite's Profile")  Replied by *[InSite](/forum/user/57025-insite "View InSite's Profile")* on topic *[Warning error Invalid Argument](/forum/22-market-bug-report/897678-warning-error-invalid-argument#319364 "I am getting an error on the vendor page for adding new product. I do not get it if I log in as super user though. Warning: Invalid argument supplied for foreach() in /home/public&#95;html/administrator/components/com&#95;hikamarket/classes/config.php on line 162")*

Getting this same error message however all the information is filled out properly and it has not gone away.

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

6 years 6 months ago [\#319367](#319367) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Warning error Invalid Argument](/forum/22-market-bug-report/897678-warning-error-invalid-argument#319367 "I am getting an error on the vendor page for adding new product. I do not get it if I log in as super user though. Warning: Invalid argument supplied for foreach() in /home/public&#95;html/administrator/components/com&#95;hikamarket/classes/config.php on line 162")*

Hello,

Please open a new thread and provide details about your issue (like screenshot regarding your problem or steps to reproduce it).

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIyLW1hcmtldC1idWctcmVwb3J0Lzg5NzY3OC13YXJuaW5nLWVycm9yLWludmFsaWQtYXJndW1lbnQ/dG1wbD1tYXJrZG93bg==) 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?

Moderators: [Obsidev](/forum/user/7040-obsidev "View Obsidev's Profile")

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

Time to create page: 0.060 seconds

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