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

#   Characteristic Error

##

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

Less More

- Posts: 52
- Thank you received: 0
-
-

12 years 5 months ago [\#161521](#161521) by [icronje](/forum/user/1483-icronje "View icronje's Profile")  Replied by *[icronje](/forum/user/1483-icronje "View icronje's Profile")* on topic *[Characteristic Error](/forum/32-content-creation/868837-characteristic-error?start=20#161521 "-- url of the page with the problem -- :   www.lesswatts.co.za  -- HikaShop version -- : Business 2.3.1 -- Joomla version -- : 2.5.9 -- PHP version -- : 5.4.16 -- Browser(s) name and version -- : Google Chrom -- Error-message(debug-mod must be tuned on) -- : When trying to save the product after adding the characteristic I get the following message: Warning: Invalid argument supplied for foreach() in /home//public&#95;html/administrator/components/com&#95;hikashop/classes/product.php on line 666.  On the front end I get the following error when opening the product that gave the problem: Warning: Creating default object from empty value in /home//public&#95;html/administrator/components/com&#95;hikashop/classes/product.php on line 1336.  Could you please assist with this.  Regards")*

Nicolas,

Thank you for the help. I corrected the primary keys and everything is now working. So somehow the table was deleted (don't know by whom) and when I recreated the table, I did not check that the keys were correct as per the programming documentation.

Thanks for the pointers and all the best. This issue is now fixed. ![:)](/media/kunena/emoticons/3.png ":)")

Regards

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

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