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

#   Error after checkout

##

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

Less More

- Posts: 159
- Thank you received: 2
-
-

11 years 7 months ago [\#196507](#196507) by [Rokell](/forum/user/32710-rokell "View Rokell's Profile")  *[Error after checkout](/forum/20-market-feature-requests/876025-error-after-checkout#196507 "-- url of the page with the problem -- :   5-elemente.org  -- HikaShop version -- : 2.4.0 -- HikaMarket version -- : 1.6.2 -- Joomla version -- : 3.4.1 -- Error-message(debug-mod must be tuned on) -- : Notice: Trying to get property of non-object in /www/htdocs/w00a755c/33/administrator/components/com&#95;hikamarket/classes/order.php on line 1930  Warning: Invalid argument supplied for foreach() in /www/htdocs/w00a755c/33/administrator/components/com&#95;hikamarket/classes/order.php on line 1930  Hi, I updated Hikashop and Hikamarket to the current versions. After checkout I see the following errors:  Notice: Trying to get property of non-object in /www/htdocs/w00a755c/33/administrator/components/com&#95;hikamarket/classes/order.php on line 1930  Warning: Invalid argument supplied for foreach() in /www/htdocs/w00a755c/33/administrator/components/com&#95;hikamarket/classes/order.php on line 1930  How can I get rid of it? It is the second time, that I run into error messages after updating... Best Roger")* was created by *[Rokell](/forum/user/32710-rokell "View Rokell's Profile")*

-- url of the page with the problem -- : [ 5-elemente.org](http://5-elemente.org)
-- HikaShop version -- : 2.4.0
-- HikaMarket version -- : 1.6.2
-- Joomla version -- : 3.4.1
-- Error-message(debug-mod must be tuned on) -- : Notice: Trying to get property of non-object in /www/htdocs/w00a755c/33/administrator/components/com_hikamarket/classes/order.php on line 1930

Warning: Invalid argument supplied for foreach() in /www/htdocs/w00a755c/33/administrator/components/com_hikamarket/classes/order.php on line 1930

Hi,
I updated Hikashop and Hikamarket to the current versions. After checkout I see the following errors:

Notice: Trying to get property of non-object in /www/htdocs/w00a755c/33/administrator/components/com_hikamarket/classes/order.php on line 1930

Warning: Invalid argument supplied for foreach() in /www/htdocs/w00a755c/33/administrator/components/com_hikamarket/classes/order.php on line 1930

How can I get rid of it? It is the second time, that I run into error messages after updating...
Best
Roger

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

11 years 7 months ago [\#196516](#196516) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Error after checkout](/forum/20-market-feature-requests/876025-error-after-checkout#196516 "-- url of the page with the problem -- :   5-elemente.org  -- HikaShop version -- : 2.4.0 -- HikaMarket version -- : 1.6.2 -- Joomla version -- : 3.4.1 -- Error-message(debug-mod must be tuned on) -- : Notice: Trying to get property of non-object in /www/htdocs/w00a755c/33/administrator/components/com&#95;hikamarket/classes/order.php on line 1930  Warning: Invalid argument supplied for foreach() in /www/htdocs/w00a755c/33/administrator/components/com&#95;hikamarket/classes/order.php on line 1930  Hi, I updated Hikashop and Hikamarket to the current versions. After checkout I see the following errors:  Notice: Trying to get property of non-object in /www/htdocs/w00a755c/33/administrator/components/com&#95;hikamarket/classes/order.php on line 1930  Warning: Invalid argument supplied for foreach() in /www/htdocs/w00a755c/33/administrator/components/com&#95;hikamarket/classes/order.php on line 1930  How can I get rid of it? It is the second time, that I run into error messages after updating... Best Roger")*

Hi,

Thanks for the report ; we will see to update the package as soon as possible.

For the moment, please edit the file "administrator/components/com_hikamarket/classes/order.php" and replace the code (start on line 1930) Code:

foreach($vendor_order-&gt;order_shipping_params-&gt;prices as $shipping_price) { if(empty($shipping_price-&gt;taxes)) continue; foreach($shipping_price-&gt;taxes as $tax_namkey =&gt; $tax_value) { $vendor_order-&gt;order_tax_info[$tax_namkey]-&gt;tax_amount_for_shipping += $tax_value; } }

By Code:

if(!empty($vendor_order-&gt;order_shipping_params) &amp;&amp; !empty($vendor_order-&gt;order_shipping_params-&gt;prices)) { foreach($vendor_order-&gt;order_shipping_params-&gt;prices as $shipping_price) { if(empty($shipping_price-&gt;taxes)) continue; foreach($shipping_price-&gt;taxes as $tax_namkey =&gt; $tax_value) { $vendor_order-&gt;order_tax_info[$tax_namkey]-&gt;tax_amount_for_shipping += $tax_value; } } }

It will fix your issue.

Sorry for the inconvenient.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 159
- Thank you received: 2
-
-

11 years 7 months ago [\#196531](#196531) by [Rokell](/forum/user/32710-rokell "View Rokell's Profile")  Replied by *[Rokell](/forum/user/32710-rokell "View Rokell's Profile")* on topic *[Error after checkout](/forum/20-market-feature-requests/876025-error-after-checkout#196531 "-- url of the page with the problem -- :   5-elemente.org  -- HikaShop version -- : 2.4.0 -- HikaMarket version -- : 1.6.2 -- Joomla version -- : 3.4.1 -- Error-message(debug-mod must be tuned on) -- : Notice: Trying to get property of non-object in /www/htdocs/w00a755c/33/administrator/components/com&#95;hikamarket/classes/order.php on line 1930  Warning: Invalid argument supplied for foreach() in /www/htdocs/w00a755c/33/administrator/components/com&#95;hikamarket/classes/order.php on line 1930  Hi, I updated Hikashop and Hikamarket to the current versions. After checkout I see the following errors:  Notice: Trying to get property of non-object in /www/htdocs/w00a755c/33/administrator/components/com&#95;hikamarket/classes/order.php on line 1930  Warning: Invalid argument supplied for foreach() in /www/htdocs/w00a755c/33/administrator/components/com&#95;hikamarket/classes/order.php on line 1930  How can I get rid of it? It is the second time, that I run into error messages after updating... Best Roger")*

Thanks,
the fix worked.
Best
Roger

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

Moderators: [Obsidev](/forum/user/7040-obsidev "View Obsidev's Profile")

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.056 seconds

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