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

#   Error: Attempt to assign property "product\_id" on int

##

- **[The Wheaten Terrier](/forum/user/67902-the-wheaten-terrier "View The Wheaten Terrier's Profile")**
- [![The Wheaten Terrier's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/67902-the-wheaten-terrier "View The Wheaten Terrier's Profile") Topic Author
- [ Offline](/forum/user/67902-the-wheaten-terrier)
- I'm trying my best!

Less More

- Posts: 14
- Thank you received: 1
-
-
-

2 years 3 months ago [\#362411](#362411) by [The Wheaten Terrier](/forum/user/67902-the-wheaten-terrier "View The Wheaten Terrier's Profile")  *[Error: Attempt to assign property "product\_id" on int](/forum/3-bug-report/908451-error-attempt-to-assign-property-product-id-on-int#362411 "-- HikaShop version -- : 5.1.0 -- Joomla version -- : 5.1.2 -- PHP version -- : 8.2 -- Browser(s) name and version -- : Safari -- Error-message(debug-mod must be tuned on) -- : 0 Attempt to assign property &quot;product&#95;id&quot; on int  Hello Support,  When creating a new product in the backend I received the error message:  0 Attempt to assign property &quot;product&#95;id&quot; on int  I changed the type of the ID in the Hikashop product table from INT to VarChar but it made no difference so I'm lost.  Please advise a solution.  best wishes, Z")* was created by *[The Wheaten Terrier](/forum/user/67902-the-wheaten-terrier "View The Wheaten Terrier's Profile")*

-- HikaShop version -- : 5.1.0
-- Joomla version -- : 5.1.2
-- PHP version -- : 8.2
-- Browser(s) name and version -- : Safari
-- Error-message(debug-mod must be tuned on) -- : 0 Attempt to assign property "product_id" on int

Hello Support,

When creating a new product in the backend I received the error message:

0 Attempt to assign property "product_id" on int

I changed the type of the ID in the Hikashop product table from INT to VarChar but it made no difference so I'm lost.

Please advise a solution.

best wishes,
Z

---

Tolerence costs nothing.
Intolerance is intolerable!

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

- **[The Wheaten Terrier](/forum/user/67902-the-wheaten-terrier "View The Wheaten Terrier's Profile")**
- [![The Wheaten Terrier's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/67902-the-wheaten-terrier "View The Wheaten Terrier's Profile") Topic Author
- [ Offline](/forum/user/67902-the-wheaten-terrier)
- I'm trying my best!

Less More

- Posts: 14
- Thank you received: 1
-
-
-

2 years 3 months ago [\#362413](#362413) by [The Wheaten Terrier](/forum/user/67902-the-wheaten-terrier "View The Wheaten Terrier's Profile")  Replied by *[The Wheaten Terrier](/forum/user/67902-the-wheaten-terrier "View The Wheaten Terrier's Profile")* on topic *[Error: Attempt to assign property "product\_id" on int](/forum/3-bug-report/908451-error-attempt-to-assign-property-product-id-on-int#362413 "-- HikaShop version -- : 5.1.0 -- Joomla version -- : 5.1.2 -- PHP version -- : 8.2 -- Browser(s) name and version -- : Safari -- Error-message(debug-mod must be tuned on) -- : 0 Attempt to assign property &quot;product&#95;id&quot; on int  Hello Support,  When creating a new product in the backend I received the error message:  0 Attempt to assign property &quot;product&#95;id&quot; on int  I changed the type of the ID in the Hikashop product table from INT to VarChar but it made no difference so I'm lost.  Please advise a solution.  best wishes, Z")*

Ok, I changed the PHP version to 8.3 and it seems to have resolved the issue and the new product is being saved now.

---

Tolerence costs nothing.
Intolerance is intolerable!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC85MDg0NTEtZXJyb3ItYXR0ZW1wdC10by1hc3NpZ24tcHJvcGVydHktcHJvZHVjdC1pZC1vbi1pbnQ/dG1wbD1tYXJrZG93bg==) 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: 86564
- Thank you received: 14311
-
-

2 years 3 months ago [\#362422](#362422) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Error: Attempt to assign property "product\_id" on int](/forum/3-bug-report/908451-error-attempt-to-assign-property-product-id-on-int#362422 "-- HikaShop version -- : 5.1.0 -- Joomla version -- : 5.1.2 -- PHP version -- : 8.2 -- Browser(s) name and version -- : Safari -- Error-message(debug-mod must be tuned on) -- : 0 Attempt to assign property &quot;product&#95;id&quot; on int  Hello Support,  When creating a new product in the backend I received the error message:  0 Attempt to assign property &quot;product&#95;id&quot; on int  I changed the type of the ID in the Hikashop product table from INT to VarChar but it made no difference so I'm lost.  Please advise a solution.  best wishes, Z")*

Hi,

I don't think that changing the version of PHP from 8.2 to 8.3 will prevent this error.
It's probably just a coincidence that the version change "fixed" the problem.
When you get an error like that, the first thing to do is to activate the "debug" setting of the Joomla configuration page and then reproduce the issue. You'll then get the complete error message, which will allow us to understand what's going on and provide a solution. With the abbreviated error message, we don't have enough information to know what's going on and thus we can't provide a solution.

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

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

Time to create page: 0.064 seconds

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