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

#   Warning: "Creating default object from empty value ..."

##

- **[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") Topic Author
- [ Offline](/forum/user/60427-seoaktok)

Less More

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

6 years 5 days ago [\#326439](#326439) by [seoaktok](/forum/user/60427-seoaktok "View seoaktok's Profile")  *[Warning: "Creating default object from empty value ..."](/forum/27-checkout/901323-warning-creating-default-object-from-empty-value#326439 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.23 -- PHP version -- : 7.3.2 -- Browser(s) name and version -- : Google Chrome 86.0.4240.198 -- Error-message(debug-mod must be tuned on) -- : Warning: Creating default object from empty value in /home/user&#42;&#42;&#42;&#42;&#42;&#42;/www/domain./administrator/components/com&#95;hikashop/classes/currency.php on line 2459  Hello! After updating Hikshop, I started getting a error message: &quot;Warning: Creating default object from empty value in /home/user&#42;&#42;&#42;&#42;&#42;&#42;/www/domain./administrator/components/com&#95;hikashop/classes/currency.php on line 2459&quot; This happens when I go from the checkout to the page of the product that has been added to the cart. This message appears in place of the cart icon. This message also appears in the HikaShop admin panel in the section &quot;Customers - Cart&quot;. Please help me to solve this problem. My domain - evastyle.by. Thank You!")* was created by *[seoaktok](/forum/user/60427-seoaktok "View seoaktok's Profile")*

-- HikaShop version -- : 4.4.0
-- Joomla version -- : 3.9.23
-- PHP version -- : 7.3.2
-- Browser(s) name and version -- : Google Chrome 86.0.4240.198
-- Error-message(debug-mod must be tuned on) -- : Warning: Creating default object from empty value in /home/user******/www/domain./administrator/components/com_hikashop/classes/currency.php on line 2459

Hello!
After updating Hikshop, I started getting a error message:
"Warning: Creating default object from empty value in /home/user******/www/domain./administrator/components/com_hikashop/classes/currency.php on line 2459"
This happens when I go from the checkout to the page of the product that has been added to the cart. This message appears in place of the cart icon.
This message also appears in the HikaShop admin panel in the section "Customers - Cart".
Please help me to solve this problem.
My domain - evastyle.by.
Thank You!

- [ ![2020-11-25&#95;16-18-56.png](/forum/attachment/51222) ](/forum/attachment/51222 "...5&#95;16-18-56.png") [ ](/forum/attachment/51222?download=1 "...5&#95;16-18-56.png")
- [ ![2020-11-25&#95;16-17-15.png](/forum/attachment/51223) ](/forum/attachment/51223 "...5&#95;16-17-15.png") [ ](/forum/attachment/51223?download=1 "...5&#95;16-17-15.png")
- [ ![2020-11-25&#95;16-17-30.png](/forum/attachment/51224) ](/forum/attachment/51224 "...5&#95;16-17-30.png") [ ](/forum/attachment/51224?download=1 "...5&#95;16-17-30.png")

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

Less More

- Posts: 86587
- Thank you received: 14326
-
-

6 years 5 days ago [\#326455](#326455) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Warning: "Creating default object from empty value ..."](/forum/27-checkout/901323-warning-creating-default-object-from-empty-value#326455 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.23 -- PHP version -- : 7.3.2 -- Browser(s) name and version -- : Google Chrome 86.0.4240.198 -- Error-message(debug-mod must be tuned on) -- : Warning: Creating default object from empty value in /home/user&#42;&#42;&#42;&#42;&#42;&#42;/www/domain./administrator/components/com&#95;hikashop/classes/currency.php on line 2459  Hello! After updating Hikshop, I started getting a error message: &quot;Warning: Creating default object from empty value in /home/user&#42;&#42;&#42;&#42;&#42;&#42;/www/domain./administrator/components/com&#95;hikashop/classes/currency.php on line 2459&quot; This happens when I go from the checkout to the page of the product that has been added to the cart. This message appears in place of the cart icon. This message also appears in the HikaShop admin panel in the section &quot;Customers - Cart&quot;. Please help me to solve this problem. My domain - evastyle.by. Thank You!")*

Hi,

Try to add the code: Code:

else $shipping-&gt;taxes[$tax-&gt;tax_namekey] = new stdClass();

after the line: Code:

$shipping-&gt;taxes[$tax-&gt;tax_namekey] = clone($tax);

in the file administrator/components/com_hikashop/classes/currency.php
That should hopefully remove the warning message.

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwMTMyMy13YXJuaW5nLWNyZWF0aW5nLWRlZmF1bHQtb2JqZWN0LWZyb20tZW1wdHktdmFsdWU/dG1wbD1tYXJrZG93bg==) 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 [\#326612](#326612) by [SEKME](/forum/user/50233-sekme "View SEKME's Profile")  Replied by *[SEKME](/forum/user/50233-sekme "View SEKME's Profile")* on topic *[Warning: "Creating default object from empty value ..."](/forum/27-checkout/901323-warning-creating-default-object-from-empty-value#326612 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.23 -- PHP version -- : 7.3.2 -- Browser(s) name and version -- : Google Chrome 86.0.4240.198 -- Error-message(debug-mod must be tuned on) -- : Warning: Creating default object from empty value in /home/user&#42;&#42;&#42;&#42;&#42;&#42;/www/domain./administrator/components/com&#95;hikashop/classes/currency.php on line 2459  Hello! After updating Hikshop, I started getting a error message: &quot;Warning: Creating default object from empty value in /home/user&#42;&#42;&#42;&#42;&#42;&#42;/www/domain./administrator/components/com&#95;hikashop/classes/currency.php on line 2459&quot; This happens when I go from the checkout to the page of the product that has been added to the cart. This message appears in place of the cart icon. This message also appears in the HikaShop admin panel in the section &quot;Customers - Cart&quot;. Please help me to solve this problem. My domain - evastyle.by. Thank You!")*

YES, THANK YOU! IT SOLVED ![:)](/media/kunena/emoticons/3.png ":)")

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

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