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

#   Shipping error related to USPS

##

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

Less More

- Posts: 13
- Thank you received: 0
-
-

14 years 11 months ago [\#32135](#32135) by [imogenus](/forum/user/863-imogenus "View imogenus's Profile")  *[Shipping error related to USPS](/forum/3-bug-report/32135-shipping-error-related-to-usps#32135 "Receive this error on checkout: Notice: Undefined property: stdClass::$shipping&#95;params in /home/healings/public&#95;html/administrator/components/com&#95;hikashop/classes/currency.php on line 801  Notice: Trying to get property of non-object in /home/healings/public&#95;html/administrator/components/com&#95;hikashop/classes/currency.php on line 801  Error only exists if USPS plugin is enabled. Sounds like USPS is not receiving an expected property or variable. However the shipping(including USPS) seems to still function and calculate shipping costs just fine despite the error. Would even ignore it but it takes up alot of space and looks ugly during checkout.")* was created by *[imogenus](/forum/user/863-imogenus "View imogenus's Profile")*

Receive this error on checkout:
Notice: Undefined property: stdClass::$shipping_params in /home/healings/public_html/administrator/components/com_hikashop/classes/currency.php on line 801

Notice: Trying to get property of non-object in /home/healings/public_html/administrator/components/com_hikashop/classes/currency.php on line 801

Error only exists if USPS plugin is enabled. Sounds like USPS is not receiving an expected property or variable. However the shipping(including USPS) seems to still function and calculate shipping costs just fine despite the error. Would even ignore it but it takes up alot of space and looks ugly during checkout.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8zMjEzNS1zaGlwcGluZy1lcnJvci1yZWxhdGVkLXRvLXVzcHM/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: 86358
- Thank you received: 14293
-
-

14 years 11 months ago [\#32162](#32162) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Shipping error related to USPS](/forum/3-bug-report/32135-shipping-error-related-to-usps#32162 "Receive this error on checkout: Notice: Undefined property: stdClass::$shipping&#95;params in /home/healings/public&#95;html/administrator/components/com&#95;hikashop/classes/currency.php on line 801  Notice: Trying to get property of non-object in /home/healings/public&#95;html/administrator/components/com&#95;hikashop/classes/currency.php on line 801  Error only exists if USPS plugin is enabled. Sounds like USPS is not receiving an expected property or variable. However the shipping(including USPS) seems to still function and calculate shipping costs just fine despite the error. Would even ignore it but it takes up alot of space and looks ugly during checkout.")*

Are you using the latest version of HikaShop ? If not you should update.

Looking at the code in there, I don't see why that error would happen.

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

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

Less More

- Posts: 13
- Thank you received: 0
-
-

14 years 11 months ago [\#32279](#32279) by [imogenus](/forum/user/863-imogenus "View imogenus's Profile")  Replied by *[imogenus](/forum/user/863-imogenus "View imogenus's Profile")* on topic *[Re: Shipping error related to USPS](/forum/3-bug-report/32135-shipping-error-related-to-usps#32279 "Receive this error on checkout: Notice: Undefined property: stdClass::$shipping&#95;params in /home/healings/public&#95;html/administrator/components/com&#95;hikashop/classes/currency.php on line 801  Notice: Trying to get property of non-object in /home/healings/public&#95;html/administrator/components/com&#95;hikashop/classes/currency.php on line 801  Error only exists if USPS plugin is enabled. Sounds like USPS is not receiving an expected property or variable. However the shipping(including USPS) seems to still function and calculate shipping costs just fine despite the error. Would even ignore it but it takes up alot of space and looks ugly during checkout.")*

I have 1.5.4, I also don't know why we are getting the error, UPS works fine so I dont think we have incorrect settings or are missing a piece of product information. I'm making the request to transfer to the production server now, which may be the issue. Ill post again after its done and we test again. Thanks for the help.

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

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

Less More

- Posts: 13
- Thank you received: 0
-
-

14 years 10 months ago [\#33188](#33188) by [imogenus](/forum/user/863-imogenus "View imogenus's Profile")  Replied by *[imogenus](/forum/user/863-imogenus "View imogenus's Profile")* on topic *[Re: Shipping error related to USPS](/forum/3-bug-report/32135-shipping-error-related-to-usps#33188 "Receive this error on checkout: Notice: Undefined property: stdClass::$shipping&#95;params in /home/healings/public&#95;html/administrator/components/com&#95;hikashop/classes/currency.php on line 801  Notice: Trying to get property of non-object in /home/healings/public&#95;html/administrator/components/com&#95;hikashop/classes/currency.php on line 801  Error only exists if USPS plugin is enabled. Sounds like USPS is not receiving an expected property or variable. However the shipping(including USPS) seems to still function and calculate shipping costs just fine despite the error. Would even ignore it but it takes up alot of space and looks ugly during checkout.")*

This was a noob mistake, joomla 1.7 error reporting was set to maximum. Sorry for the confusion.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8zMjEzNS1zaGlwcGluZy1lcnJvci1yZWxhdGVkLXRvLXVzcHM/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: 86358
- Thank you received: 14293
-
-

14 years 10 months ago [\#33189](#33189) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Shipping error related to USPS](/forum/3-bug-report/32135-shipping-error-related-to-usps#33189 "Receive this error on checkout: Notice: Undefined property: stdClass::$shipping&#95;params in /home/healings/public&#95;html/administrator/components/com&#95;hikashop/classes/currency.php on line 801  Notice: Trying to get property of non-object in /home/healings/public&#95;html/administrator/components/com&#95;hikashop/classes/currency.php on line 801  Error only exists if USPS plugin is enabled. Sounds like USPS is not receiving an expected property or variable. However the shipping(including USPS) seems to still function and calculate shipping costs just fine despite the error. Would even ignore it but it takes up alot of space and looks ugly during checkout.")*

Otherwise, you can replace that line:
$shippings[$k]-&gt;shipping_params-&gt;shipping_min_price=round($shippings[$k]-&gt;shipping_params-&gt;shipping_min_price,(int)$currencies[$shippings[$k]-&gt;shipping_currency_id]-&gt;currency_locale);

by:

if(!empty($shippings[$k]-&gt;shipping_params-&gt;shipping_min_price)) $shippings[$k]-&gt;shipping_params-&gt;shipping_min_price=round($shippings[$k]-&gt;shipping_params-&gt;shipping_min_price,(int)$currencies[$shippings[$k]-&gt;shipping_currency_id]-&gt;currency_locale);

in that file and that will remove the notice message.

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

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