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

#   Error in product class updateCharacteristics

##

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

Less More

- Posts: 3
- Thank you received: 0
-
-

11 years 10 months ago [\#182056](#182056) by [venomDev](/forum/user/34941-venomdev "View venomDev's Profile")  *[Error in product class updateCharacteristics](/forum/3-bug-report/873413-error-in-product-class-updatecharacteristics#182056 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3 -- PHP version -- : 5 -- Error-message(debug-mod must be tuned on) -- : #1054 Unknown column 'b.characteristic&#95;id' in 'field list' SQL=SELECT b.characteristic&#95;id FROM j3&#95;hikashop&#95;variant AS v LEFT JOIN j3&#95;hikashop&#95;characteristic AS c ON v.variant&#95;characteristic&#95;id = c.characteristic&#95;id WHERE v.variant&#95;product&#95;id = 298 AND c.characteristic&#95;parent&#95;id = 0  Hi,  I'm making a module for Joomla that adds products and variants to HikaShop and I get the SQL error. It's coming from the file administrator/components/com&#95;hikashop/classes/product.php in the function updateCharacteristics line 646. As you can see it's trying to get 'b.characteristic&#95;id' but both included tables are 'c' and 'v'.  I've fixed it locally and it seems fine.")* was created by *[venomDev](/forum/user/34941-venomdev "View venomDev's Profile")*

-- HikaShop version -- : 2.3.4
-- Joomla version -- : 3.3
-- PHP version -- : 5
-- Error-message(debug-mod must be tuned on) -- : #1054 Unknown column 'b.characteristic_id' in 'field list' SQL=SELECT b.characteristic_id FROM j3_hikashop_variant AS v LEFT JOIN j3_hikashop_characteristic AS c ON v.variant_characteristic_id = c.characteristic_id WHERE v.variant_product_id = 298 AND c.characteristic_parent_id = 0

Hi,

I'm making a module for Joomla that adds products and variants to HikaShop and I get the SQL error. It's coming from the file administrator/components/com_hikashop/classes/product.php in the function updateCharacteristics line 646. As you can see it's trying to get 'b.characteristic_id' but both included tables are 'c' and 'v'.

I've fixed it locally and it seems fine.

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

Less More

- Posts: 86290
- Thank you received: 14268
-
-

11 years 10 months ago [\#182104](#182104) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Error in product class updateCharacteristics](/forum/3-bug-report/873413-error-in-product-class-updatecharacteristics#182104 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3 -- PHP version -- : 5 -- Error-message(debug-mod must be tuned on) -- : #1054 Unknown column 'b.characteristic&#95;id' in 'field list' SQL=SELECT b.characteristic&#95;id FROM j3&#95;hikashop&#95;variant AS v LEFT JOIN j3&#95;hikashop&#95;characteristic AS c ON v.variant&#95;characteristic&#95;id = c.characteristic&#95;id WHERE v.variant&#95;product&#95;id = 298 AND c.characteristic&#95;parent&#95;id = 0  Hi,  I'm making a module for Joomla that adds products and variants to HikaShop and I get the SQL error. It's coming from the file administrator/components/com&#95;hikashop/classes/product.php in the function updateCharacteristics line 646. As you can see it's trying to get 'b.characteristic&#95;id' but both included tables are 'c' and 'v'.  I've fixed it locally and it seems fine.")*

Hi,

Indeed, it should be a c.
We'll fix that on our end. Thank you for the feedback !

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

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

[](#top)
