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

#   Entering/Updating products with quantities other than -1 result in error message

##

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

Less More

- Posts: 5
- Thank you received: 0
-
-

6 years 4 months ago [\#321402](#321402) by [BartelBe](/forum/user/59340-bartelbe "View BartelBe's Profile")  *[Entering/Updating products with quantities other than -1 result in error message](/forum/32-content-creation/900297-entering-updating-products-with-quantities-other-than-1-result-in-error-message#321402 "-- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.19 -- PHP version -- : 7.3.14-1 -- Browser(s) name and version -- : FireFox 77.0.1 -- Error-message(debug-mod must be tuned on) -- : 0 Call to undefined method hikashopProductClass::saveRaw()  This happens in front office (vendor control panel - add/update product) and in back office (administration - Hikashop Products add/update)  Although it appears that the product update is saved correctly.  I eliminated numerous possible causes, the problem only occurs when quantities are used. (and not using quantities is not an option)  Thanks in advance for looking into this. This freaks out my vendors, obviously (!) Please give it priority.")* was created by *[BartelBe](/forum/user/59340-bartelbe "View BartelBe's Profile")*

-- HikaShop version -- : 4.3.0
-- Joomla version -- : 3.9.19
-- PHP version -- : 7.3.14-1
-- Browser(s) name and version -- : FireFox 77.0.1
-- Error-message(debug-mod must be tuned on) -- : 0 Call to undefined method hikashopProductClass::saveRaw()

This happens in front office (vendor control panel - add/update product) and in back office (administration - Hikashop Products add/update)

Although it appears that the product update is **saved correctly**.

I eliminated numerous possible causes, the problem only occurs when quantities are used. (and not using quantities is not an option)

Thanks in advance for looking into this.
This freaks out my vendors, obviously (!)
Please give it priority.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NvbnRlbnQtY3JlYXRpb24vOTAwMjk3LWVudGVyaW5nLXVwZGF0aW5nLXByb2R1Y3RzLXdpdGgtcXVhbnRpdGllcy1vdGhlci10aGFuLTEtcmVzdWx0LWluLWVycm9yLW1lc3NhZ2U/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: 86540
- Thank you received: 14299
-
-

6 years 4 months ago [\#321434](#321434) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Entering/Updating products with quantities other than -1 result in error message](/forum/32-content-creation/900297-entering-updating-products-with-quantities-other-than-1-result-in-error-message#321434 "-- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.19 -- PHP version -- : 7.3.14-1 -- Browser(s) name and version -- : FireFox 77.0.1 -- Error-message(debug-mod must be tuned on) -- : 0 Call to undefined method hikashopProductClass::saveRaw()  This happens in front office (vendor control panel - add/update product) and in back office (administration - Hikashop Products add/update)  Although it appears that the product update is saved correctly.  I eliminated numerous possible causes, the problem only occurs when quantities are used. (and not using quantities is not an option)  Thanks in advance for looking into this. This freaks out my vendors, obviously (!) Please give it priority.")*

Hi,

Could you activate the "debug mode" setting of the Joomla configuration and try again ?
That will add more information to the error message which will help us better understand the situation.

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

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

Less More

- Posts: 5
- Thank you received: 0
-
-

6 years 4 months ago -  6 years 4 months ago [\#321443](#321443) by [BartelBe](/forum/user/59340-bartelbe "View BartelBe's Profile")  Replied by *[BartelBe](/forum/user/59340-bartelbe "View BartelBe's Profile")* on topic *[Entering/Updating products with quantities other than -1 result in error message](/forum/32-content-creation/900297-entering-updating-products-with-quantities-other-than-1-result-in-error-message#321443 "-- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.19 -- PHP version -- : 7.3.14-1 -- Browser(s) name and version -- : FireFox 77.0.1 -- Error-message(debug-mod must be tuned on) -- : 0 Call to undefined method hikashopProductClass::saveRaw()  This happens in front office (vendor control panel - add/update product) and in back office (administration - Hikashop Products add/update)  Although it appears that the product update is saved correctly.  I eliminated numerous possible causes, the problem only occurs when quantities are used. (and not using quantities is not an option)  Thanks in advance for looking into this. This freaks out my vendors, obviously (!) Please give it priority.")*

in front office (updating a product that hat quantity 1 or higher) - in front office, the product is *NOT* updated

0 Call to undefined method hikashopProductClass::saveRaw()
Call stack
\# Function Location
1 () JROOT/plugins/hikashop/variants_quanity_synch/variants_quanity_synch.php:63
2 plgHikashopVariants_quanity_synch-&gt;_updateProduct() JROOT/plugins/hikashop/variants_quanity_synch/variants_quanity_synch.php:30
3 plgHikashopVariants_quanity_synch-&gt;_processProduct() JROOT/plugins/hikashop/variants_quanity_synch/variants_quanity_synch.php:12
4 plgHikashopVariants_quanity_synch-&gt;onAfterProductUpdate() JROOT/libraries/joomla/event/event.php:70
5 JEvent-&gt;update() JROOT/libraries/joomla/event/dispatcher.php:160
6 JEventDispatcher-&gt;trigger() JROOT/libraries/src/Application/BaseApplication.php:108
7 Joomla\CMS\Application\BaseApplication-&gt;triggerEvent() JROOT/administrator/components/com_hikashop/classes/product.php:2742
8 hikashopProductClass-&gt;save() JROOT/administrator/components/com_hikamarket/classes/product.php:1288
9 hikamarketProductClass-&gt;save() JROOT/administrator/components/com_hikamarket/classes/product.php:571
10 hikamarketProductClass-&gt;frontSaveForm() JROOT/components/com_hikamarket/controllers/product.php:553
11 productMarketController-&gt;store() JROOT/components/com_hikamarket/controllers/product.php:91
12 productMarketController-&gt;save() JROOT/libraries/src/MVC/Controller/BaseController.php:710
13 Joomla\CMS\MVC\Controller\BaseController-&gt;execute() JROOT/administrator/components/com_hikamarket/helpers/helper.php:1695
14 hikamarketController-&gt;execute() JROOT/components/com_hikamarket/hikamarket.php:76
15 require_once() JROOT/libraries/src/Component/ComponentHelper.php:402
16 Joomla\CMS\Component\ComponentHelper::executeComponent() JROOT/libraries/src/Component/ComponentHelper.php:377
17 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:194
18 Joomla\CMS\Application\SiteApplication-&gt;dispatch() JROOT/libraries/src/Application/SiteApplication.php:233
19 Joomla\CMS\Application\SiteApplication-&gt;doExecute() JROOT/libraries/src/Application/CMSApplication.php:196
20 Joomla\CMS\Application\CMSApplication-&gt;execute() JROOT/index.php:49

updating in backoffice --&gt;
An error has occurred.

0 Call to undefined method hikashopProductClass::saveRaw()
/var/www/vibel.be/public_html/plugins/hikashop/variants_quanity_synch/variants_quanity_synch.php:63

Call stack
\# Function Location
1 () JROOT/plugins/hikashop/variants_quanity_synch/variants_quanity_synch.php:63
2 plgHikashopVariants_quanity_synch-&gt;_updateProduct() JROOT/plugins/hikashop/variants_quanity_synch/variants_quanity_synch.php:30
3 plgHikashopVariants_quanity_synch-&gt;_processProduct() JROOT/plugins/hikashop/variants_quanity_synch/variants_quanity_synch.php:12
4 plgHikashopVariants_quanity_synch-&gt;onAfterProductUpdate() JROOT/libraries/joomla/event/event.php:70
5 JEvent-&gt;update() JROOT/libraries/joomla/event/dispatcher.php:160
6 JEventDispatcher-&gt;trigger() JROOT/libraries/src/Application/BaseApplication.php:108
7 Joomla\CMS\Application\BaseApplication-&gt;triggerEvent() JROOT/administrator/components/com_hikashop/classes/product.php:2691
8 hikashopProductClass-&gt;fullSave() JROOT/administrator/components/com_hikashop/classes/product.php:665
9 hikashopProductClass-&gt;backSaveForm() JROOT/administrator/components/com_hikashop/classes/product.php:50
10 hikashopProductClass-&gt;saveForm() JROOT/administrator/components/com_hikashop/helpers/helper.php:2014
11 hikashopController-&gt;store() JROOT/administrator/components/com_hikashop/controllers/product.php:112
12 ProductController-&gt;save() JROOT/libraries/src/MVC/Controller/BaseController.php:710
13 Joomla\CMS\MVC\Controller\BaseController-&gt;execute() JROOT/administrator/components/com_hikashop/helpers/helper.php:2178
14 hikashopController-&gt;execute() JROOT/administrator/components/com_hikashop/hikashop.php:72
15 require_once() JROOT/libraries/src/Component/ComponentHelper.php:402
16 Joomla\CMS\Component\ComponentHelper::executeComponent() JROOT/libraries/src/Component/ComponentHelper.php:377
17 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:101
18 Joomla\CMS\Application\AdministratorApplication-&gt;dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:159
19 Joomla\CMS\Application\AdministratorApplication-&gt;doExecute() JROOT/libraries/src/Application/CMSApplication.php:196
20 Joomla\CMS\Application\CMSApplication-&gt;execute() JROOT/administrator/index.php:51

Last edit: 6 years 4 months ago by [BartelBe](/forum/user/59340-bartelbe "View BartelBe's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NvbnRlbnQtY3JlYXRpb24vOTAwMjk3LWVudGVyaW5nLXVwZGF0aW5nLXByb2R1Y3RzLXdpdGgtcXVhbnRpdGllcy1vdGhlci10aGFuLTEtcmVzdWx0LWluLWVycm9yLW1lc3NhZ2U/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: 86540
- Thank you received: 14299
-
-

6 years 4 months ago [\#321449](#321449) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Entering/Updating products with quantities other than -1 result in error message](/forum/32-content-creation/900297-entering-updating-products-with-quantities-other-than-1-result-in-error-message#321449 "-- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.19 -- PHP version -- : 7.3.14-1 -- Browser(s) name and version -- : FireFox 77.0.1 -- Error-message(debug-mod must be tuned on) -- : 0 Call to undefined method hikashopProductClass::saveRaw()  This happens in front office (vendor control panel - add/update product) and in back office (administration - Hikashop Products add/update)  Although it appears that the product update is saved correctly.  I eliminated numerous possible causes, the problem only occurs when quantities are used. (and not using quantities is not an option)  Thanks in advance for looking into this. This freaks out my vendors, obviously (!) Please give it priority.")*

Hi,

The error comes from an old version of the Variant Quantity Synchronization plugin that you got from the marketplace:
[ www.hikashop.com/marketplace/product/159...nch-by-hikashop.html](https://www.hikashop.com/marketplace/product/159-product_varqtysynch-by-hikashop.html)
Download its latest version and install it on your website and the error should disapear.

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

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

Less More

- Posts: 5
- Thank you received: 0
-
-

6 years 4 months ago [\#321453](#321453) by [BartelBe](/forum/user/59340-bartelbe "View BartelBe's Profile")  Replied by *[BartelBe](/forum/user/59340-bartelbe "View BartelBe's Profile")* on topic *[Entering/Updating products with quantities other than -1 result in error message](/forum/32-content-creation/900297-entering-updating-products-with-quantities-other-than-1-result-in-error-message#321453 "-- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.19 -- PHP version -- : 7.3.14-1 -- Browser(s) name and version -- : FireFox 77.0.1 -- Error-message(debug-mod must be tuned on) -- : 0 Call to undefined method hikashopProductClass::saveRaw()  This happens in front office (vendor control panel - add/update product) and in back office (administration - Hikashop Products add/update)  Although it appears that the product update is saved correctly.  I eliminated numerous possible causes, the problem only occurs when quantities are used. (and not using quantities is not an option)  Thanks in advance for looking into this. This freaks out my vendors, obviously (!) Please give it priority.")*

[SOLVED] Thank you. That worked fine.

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

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