Warning Created Default Object From Empty Value---- cart module

  • Posts: 267
  • Thank you received: 4
4 years 1 month ago #324791

Since I recently updated Hikashop business I am getting this warning now in the cart mudule: How do I fix and get rid of it?

Warning: Creating default object from empty value in /home/website.com/administrator/components/com_hikashop/classes/currency.php on line 2459

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

  • Posts: 4747
  • Thank you received: 644
  • MODERATOR
4 years 1 month ago #324819

Hello,

Can you provide an Url, and a step by step process to be able to see the issue (and process some tests) by ourselves ?
Awaiting news from you to be able to progress on your subject.

Regards

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

  • Posts: 2
  • Thank you received: 0
3 years 11 months ago #326440

Hello! Have you solved this problem?

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

  • Posts: 84
  • Thank you received: 2
3 years 11 months ago #326590

Hello Philip, is there any solutions for this issue, as I just bumpt in it too.
After updated hika business (4.4.0) the cart module gives this warning Warning: Creating default object from empty value in /home/website.com/administrator/components/com_hikashop/classes/currency.php on line 2459

It happens, when press on product title link in cart module and the same issue appear on checkout page,when press on product title link

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

  • Posts: 82864
  • Thank you received: 13372
  • MODERATOR
3 years 11 months ago #326594
The following user(s) said Thank You: SEKME

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

  • Posts: 84
  • Thank you received: 2
3 years 11 months ago #326639

Hi Nicolas one more time.
Your solution worked well on one site which has only hikashop.

But when I added this solution to site which has hikashop + hikamarket -> the issue did not solved with cart module the same warning message appear

Last edit: 3 years 11 months ago by SEKME.

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

  • Posts: 82864
  • Thank you received: 13372
  • MODERATOR
3 years 11 months ago #326703

Hi,

It's not possible you get the exact same error message after you add that code.
This code will push the line of the error two lines below. So at least, the line number should be 2461
What I suppose it that you get a similar error in a different part of the code.
So we need the exact error message to be able to check what's going on with that other error to be able to provide a patch.

Last edit: 3 years 11 months ago by nicolas.

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

Time to create page: 0.093 seconds
Powered by Kunena Forum