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

#   Error with the creation of products

##

- **[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")**
- [![PeterChain's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar570.png)](/forum/user/570-peterchain "View PeterChain's Profile") Topic Author
- [ Offline](/forum/user/570-peterchain)

Less More

- Posts: 640
- Thank you received: 16
-
-

9 years 8 months ago [\#265519](#265519) by [PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")  *[Error with the creation of products](/forum/19-hikamarket/889456-error-with-the-creation-of-products#265519 "-- HikaShop version -- : 3.0.0 -- HikaMarket version -- : 1.7.2 -- Joomla version -- : 3.6.5 -- PHP version -- : 5.6.30 -- Browser(s) name and version -- : all browsers -- Error-message(debug-mod must be tuned on) -- : Warning: Invalid argument supplied for foreach() in /Applications/MAMP/htdocs/hikashop/templates/protostar/html/com&#95;hikamarket/productmarket/form.php on line 17  Hello  When I click the NEW Button I get 1 warning (attachment 2) and nothing is shown in the content area.  This is the warning:  Can't say if this warning is related to no edition form being shown, but is the only thing I get rendered in the content area.  I am working on a localhost project with Protostar template.  Thanks in advance,  Carlos")* was created by *[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")*

-- HikaShop version -- : 3.0.0
-- HikaMarket version -- : 1.7.2
-- Joomla version -- : 3.6.5
-- PHP version -- : 5.6.30
-- Browser(s) name and version -- : all browsers
-- Error-message(debug-mod must be tuned on) -- : Warning: Invalid argument supplied for foreach() in /Applications/MAMP/htdocs/hikashop/templates/protostar/html/com_hikamarket/productmarket/form.php on line 17

Hello

When I click the NEW Button I get 1 warning **(attachment 2)** and nothing is shown in the content area.

This is the warning:
Code:

Warning: Invalid argument supplied for foreach() in /Applications/MAMP/htdocs/hikashop/templates/protostar/html/com_hikamarket/productmarket/form.php on line 17

Can't say if this warning is related to no edition form being shown, but is the only thing I get rendered in the content area.

I am working on a localhost project with Protostar template.

[ ![Capturadepantalla2017-03-21ales13.24.24&#95;2017-03-21.png](/forum/attachment/37162) ](/forum/attachment/37162 "...2017-03-21.png")

Thanks in advance,

Carlos

- [ ![Capturadepantalla2017-03-21ales13.18.12.png](/forum/attachment/37158) ](/forum/attachment/37158 "...es13.18.12.png") [ ](/forum/attachment/37158?download=1 "...es13.18.12.png")
- [ ![Capturadepantalla2017-03-21ales13.24.24.png](/forum/attachment/37160) ](/forum/attachment/37160 "...es13.24.24.png") [ ](/forum/attachment/37160?download=1 "...es13.24.24.png")
- [ ![Capturadepantalla2017-03-21ales13.24.24&#95;2017-03-21.png](/forum/attachment/37162) ](/forum/attachment/37162 "...2017-03-21.png") [ ](/forum/attachment/37162?download=1 "...2017-03-21.png")

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

9 years 8 months ago [\#265521](#265521) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Error with the creation of products](/forum/19-hikamarket/889456-error-with-the-creation-of-products#265521 "-- HikaShop version -- : 3.0.0 -- HikaMarket version -- : 1.7.2 -- Joomla version -- : 3.6.5 -- PHP version -- : 5.6.30 -- Browser(s) name and version -- : all browsers -- Error-message(debug-mod must be tuned on) -- : Warning: Invalid argument supplied for foreach() in /Applications/MAMP/htdocs/hikashop/templates/protostar/html/com&#95;hikamarket/productmarket/form.php on line 17  Hello  When I click the NEW Button I get 1 warning (attachment 2) and nothing is shown in the content area.  This is the warning:  Can't say if this warning is related to no edition form being shown, but is the only thing I get rendered in the content area.  I am working on a localhost project with Protostar template.  Thanks in advance,  Carlos")*

Hello,

1 - You're not up to date.
[ www.hikashop.com/support/documentation/1...arket-changelog.html](https://www.hikashop.com/support/documentation/147-hikamarket-changelog.html)

2 - The error is in your view override, not in HikaMarket.

Regards,

---

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

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

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