Can't

  • Posts: 142
  • Thank you received: 3
  • Hikashop Business
2 years 4 months ago #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_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: 2 years 4 months ago by ePower2007.

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
2 years 4 months ago #343132

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 or Create an account to join the conversation.

  • Posts: 142
  • Thank you received: 3
  • Hikashop Business
2 years 4 months ago #343236

Hi Nicolas
It seems that the Limits do not save correctly as I can not make them published
Here the pics
No1 before saving


No2 after saving

No3 after saving and close

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
2 years 4 months ago #343239

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 or Create an account to join the conversation.

  • Posts: 142
  • Thank you received: 3
  • Hikashop Business
2 years 4 months ago #343327

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

Please Log in or Create an account to join the conversation.

Time to create page: 0.078 seconds
Powered by Kunena Forum