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

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

##

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

Less More

- Posts: 301
- Thank you received: 6
-
-

6 years 1 month ago [\#324791](#324791) by [fan4chevy](/forum/user/9567-fan4chevy "View fan4chevy's Profile")  *[Warning Created Default Object From Empty Value---- cart module](/forum/25-install-update/900972-warning-created-default-object-from-empty-value-cart-module#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&#95;hikashop/classes/currency.php on line 2459")* was created by *[fan4chevy](/forum/user/9567-fan4chevy "View fan4chevy's Profile")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzkwMDk3Mi13YXJuaW5nLWNyZWF0ZWQtZGVmYXVsdC1vYmplY3QtZnJvbS1lbXB0eS12YWx1ZS1jYXJ0LW1vZHVsZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Philip](/forum/user/34318-philip "View Philip's Profile")**
- [![Philip's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/34318-philip "View Philip's Profile")
- [ Offline](/forum/user/34318-philip)

Less More

- Posts: 4820
- Thank you received: 652
-
-

6 years 1 month ago [\#324819](#324819) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Warning Created Default Object From Empty Value---- cart module](/forum/25-install-update/900972-warning-created-default-object-from-empty-value-cart-module#324819 "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&#95;hikashop/classes/currency.php on line 2459")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzkwMDk3Mi13YXJuaW5nLWNyZWF0ZWQtZGVmYXVsdC1vYmplY3QtZnJvbS1lbXB0eS12YWx1ZS1jYXJ0LW1vZHVsZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 2
- Thank you received: 0
-
-

6 years 5 days ago [\#326440](#326440) by [seoaktok](/forum/user/60427-seoaktok "View seoaktok's Profile")  Replied by *[seoaktok](/forum/user/60427-seoaktok "View seoaktok's Profile")* on topic *[Warning Created Default Object From Empty Value---- cart module](/forum/25-install-update/900972-warning-created-default-object-from-empty-value-cart-module#326440 "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&#95;hikashop/classes/currency.php on line 2459")*

Hello! Have you solved this problem?

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

- **[SEKME](/forum/user/50233-sekme "View SEKME's Profile")**
- [![SEKME's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/50233-sekme "View SEKME's Profile")
- [ Away](/forum/user/50233-sekme)

Less More

- Posts: 86
- Thank you received: 3
-
-

6 years 3 days ago [\#326590](#326590) by [SEKME](/forum/user/50233-sekme "View SEKME's Profile")  Replied by *[SEKME](/forum/user/50233-sekme "View SEKME's Profile")* on topic *[Warning Created Default Object From Empty Value---- cart module](/forum/25-install-update/900972-warning-created-default-object-from-empty-value-cart-module#326590 "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&#95;hikashop/classes/currency.php on line 2459")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzkwMDk3Mi13YXJuaW5nLWNyZWF0ZWQtZGVmYXVsdC1vYmplY3QtZnJvbS1lbXB0eS12YWx1ZS1jYXJ0LW1vZHVsZT90bXBsPW1hcmtkb3du) 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: 86587
- Thank you received: 14326
-
-

6 years 3 days ago [\#326594](#326594) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Warning Created Default Object From Empty Value---- cart module](/forum/25-install-update/900972-warning-created-default-object-from-empty-value-cart-module#326594 "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&#95;hikashop/classes/currency.php on line 2459")*

Hi,

Please try this solution:
[ www.hikashop.com/forum/checkout/901323-w...e/326439.html#326455](https://www.hikashop.com/forum/checkout/901323-warning-creating-default-object-from-empty-value/326439.html#326455)

The following user(s) said Thank You: [SEKME](/forum/user/50233-sekme "View SEKME's Profile")

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

- **[SEKME](/forum/user/50233-sekme "View SEKME's Profile")**
- [![SEKME's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/50233-sekme "View SEKME's Profile")
- [ Away](/forum/user/50233-sekme)

Less More

- Posts: 86
- Thank you received: 3
-
-

6 years 2 days ago -  6 years 2 days ago [\#326639](#326639) by [SEKME](/forum/user/50233-sekme "View SEKME's Profile")  Replied by *[SEKME](/forum/user/50233-sekme "View SEKME's Profile")* on topic *[Warning Created Default Object From Empty Value---- cart module](/forum/25-install-update/900972-warning-created-default-object-from-empty-value-cart-module#326639 "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&#95;hikashop/classes/currency.php on line 2459")*

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 -&gt; the issue did not solved with cart module the same warning message appear

Last edit: 6 years 2 days ago by [SEKME](/forum/user/50233-sekme "View SEKME's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzkwMDk3Mi13YXJuaW5nLWNyZWF0ZWQtZGVmYXVsdC1vYmplY3QtZnJvbS1lbXB0eS12YWx1ZS1jYXJ0LW1vZHVsZT90bXBsPW1hcmtkb3du) 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: 86587
- Thank you received: 14326
-
-

6 years 23 hours ago -  6 years 23 hours ago [\#326703](#326703) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Warning Created Default Object From Empty Value---- cart module](/forum/25-install-update/900972-warning-created-default-object-from-empty-value-cart-module#326703 "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&#95;hikashop/classes/currency.php on line 2459")*

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: 6 years 23 hours ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

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

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