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

#   Can't

##

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

Less More

- Posts: 142
- Thank you received: 3
-
-

4 years 4 months ago -  4 years 4 months ago [\#343128](#343128) by [ePower2007](/forum/user/8541-epower2007 "View ePower2007's Profile")  *[Can't](/forum/45-filters-search/904716-cant#343128 "-- HikaShop version -- : HikaShop Business 4.6.1 -- Joomla version -- : 4.1.5 -- PHP version -- : 7.4 -- Browser(s) name and version -- : firefox  Hi there, when inputing a limit in products then I get the following error messages. Is this a bug or do I need to set something before setting the limit to the product?  Warning: get&#95;object&#95;vars() expects parameter 1 to be object, null given in /home/........../administrator/components/com&#95;hikashop/helpers/helper.php on line 2472  Warning: Invalid argument supplied for foreach() in /home/........../administrator/components/com&#95;hikashop/helpers/helper.php on line 2472  Warning: implode(): Invalid arguments passed in /home/........../administrator/components/com&#95;hikashop/helpers/helper.php on line 2479")* was created by *[ePower2007](/forum/user/8541-epower2007 "View ePower2007's Profile")*

-- HikaShop version -- : HikaShop Business 4.6.1
-- Joomla version -- : 4.1.5
-- PHP version -- : 7.4
-- Browser(s) name and version -- : firefox

Hi there,
when inputing a limit in products then I get the following error messages.
Is this a bug or do I need to set something before setting the limit to the product?

Warning: get_object_vars() expects parameter 1 to be object, null given in /home/........../administrator/components/com_hikashop/helpers/helper.php on line 2472

Warning: Invalid argument supplied for foreach() in /home/........../administrator/components/com_hikashop/helpers/helper.php on line 2472

Warning: implode(): Invalid arguments passed in /home/........../administrator/components/com_hikashop/helpers/helper.php on line 2479

Last edit: 4 years 4 months ago by [ePower2007](/forum/user/8541-epower2007 "View ePower2007's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzkwNDcxNi1jYW50P3RtcGw9bWFya2Rvd24=) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86576
- Thank you received: 14320
-
-

4 years 4 months ago [\#343132](#343132) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Can't](/forum/45-filters-search/904716-cant#343132 "-- HikaShop version -- : HikaShop Business 4.6.1 -- Joomla version -- : 4.1.5 -- PHP version -- : 7.4 -- Browser(s) name and version -- : firefox  Hi there, when inputing a limit in products then I get the following error messages. Is this a bug or do I need to set something before setting the limit to the product?  Warning: get&#95;object&#95;vars() expects parameter 1 to be object, null given in /home/........../administrator/components/com&#95;hikashop/helpers/helper.php on line 2472  Warning: Invalid argument supplied for foreach() in /home/........../administrator/components/com&#95;hikashop/helpers/helper.php on line 2472  Warning: implode(): Invalid arguments passed in /home/........../administrator/components/com&#95;hikashop/helpers/helper.php on line 2479")*

Hi,

Well, it's a bug because these warnings should not appear.
But that doesn't mean that the limit won't work after that if you can see it on the listing.
These warnings indicate that something is trying to saving data in the database but it fails because the given data is null instead of being an object data. But it's quite vague like that and doesn't allow us to fix the problem. We'll need more information.
Could you explain precisely what to did to get these warnings ?
Maybe provide a screenshot of the page you are on before you click on the button leading to these warnings ?

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

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

Less More

- Posts: 142
- Thank you received: 3
-
-

4 years 4 months ago [\#343236](#343236) by [ePower2007](/forum/user/8541-epower2007 "View ePower2007's Profile")  Replied by *[ePower2007](/forum/user/8541-epower2007 "View ePower2007's Profile")* on topic *[Can't](/forum/45-filters-search/904716-cant#343236 "-- HikaShop version -- : HikaShop Business 4.6.1 -- Joomla version -- : 4.1.5 -- PHP version -- : 7.4 -- Browser(s) name and version -- : firefox  Hi there, when inputing a limit in products then I get the following error messages. Is this a bug or do I need to set something before setting the limit to the product?  Warning: get&#95;object&#95;vars() expects parameter 1 to be object, null given in /home/........../administrator/components/com&#95;hikashop/helpers/helper.php on line 2472  Warning: Invalid argument supplied for foreach() in /home/........../administrator/components/com&#95;hikashop/helpers/helper.php on line 2472  Warning: implode(): Invalid arguments passed in /home/........../administrator/components/com&#95;hikashop/helpers/helper.php on line 2479")*

Hi Nicolas
It seems that the Limits do not save correctly as I can not make them published
Here the pics
No1 before saving
[ ![1&#95;2022-07-15.jpg](/forum/attachment/55232) ](/forum/attachment/55232 "1&#95;2022-07-15.jpg")

No2 after saving
[ ![2&#95;2022-07-15.jpg](/forum/attachment/55233) ](/forum/attachment/55233 "2&#95;2022-07-15.jpg")

No3 after saving and close
[ ![3.jpg](/forum/attachment/55234) ](/forum/attachment/55234 "3.jpg")

- [ ![1&#95;2022-07-15.jpg](/forum/attachment/55232) ](/forum/attachment/55232 "1&#95;2022-07-15.jpg") [ ](/forum/attachment/55232?download=1 "1&#95;2022-07-15.jpg")
- [ ![2&#95;2022-07-15.jpg](/forum/attachment/55233) ](/forum/attachment/55233 "2&#95;2022-07-15.jpg") [ ](/forum/attachment/55233?download=1 "2&#95;2022-07-15.jpg")
- [ ![3.jpg](/forum/attachment/55234) ](/forum/attachment/55234 "3.jpg") [ ](/forum/attachment/55234?download=1 "3.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzkwNDcxNi1jYW50P3RtcGw9bWFya2Rvd24=) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86576
- Thank you received: 14320
-
-

4 years 4 months ago [\#343239](#343239) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Can't](/forum/45-filters-search/904716-cant#343239 "-- HikaShop version -- : HikaShop Business 4.6.1 -- Joomla version -- : 4.1.5 -- PHP version -- : 7.4 -- Browser(s) name and version -- : firefox  Hi there, when inputing a limit in products then I get the following error messages. Is this a bug or do I need to set something before setting the limit to the product?  Warning: get&#95;object&#95;vars() expects parameter 1 to be object, null given in /home/........../administrator/components/com&#95;hikashop/helpers/helper.php on line 2472  Warning: Invalid argument supplied for foreach() in /home/........../administrator/components/com&#95;hikashop/helpers/helper.php on line 2472  Warning: implode(): Invalid arguments passed in /home/........../administrator/components/com&#95;hikashop/helpers/helper.php on line 2479")*

Hi,

Thank you. I was able to reproduce the issue and make a fix for it.
Please download again the install package of the 4.6.1 on our website and install it on yours and you'll get the patch.

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

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

Less More

- Posts: 142
- Thank you received: 3
-
-

4 years 4 months ago [\#343327](#343327) by [ePower2007](/forum/user/8541-epower2007 "View ePower2007's Profile")  Replied by *[ePower2007](/forum/user/8541-epower2007 "View ePower2007's Profile")* on topic *[Can't](/forum/45-filters-search/904716-cant#343327 "-- HikaShop version -- : HikaShop Business 4.6.1 -- Joomla version -- : 4.1.5 -- PHP version -- : 7.4 -- Browser(s) name and version -- : firefox  Hi there, when inputing a limit in products then I get the following error messages. Is this a bug or do I need to set something before setting the limit to the product?  Warning: get&#95;object&#95;vars() expects parameter 1 to be object, null given in /home/........../administrator/components/com&#95;hikashop/helpers/helper.php on line 2472  Warning: Invalid argument supplied for foreach() in /home/........../administrator/components/com&#95;hikashop/helpers/helper.php on line 2472  Warning: implode(): Invalid arguments passed in /home/........../administrator/components/com&#95;hikashop/helpers/helper.php on line 2479")*

Works perfect now.
Thanks a lot for your quick reply!

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

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