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

#   \[SOLVED\]Notice: Trying to get property of non-object in in cart after upgrade

##

- **[Cattelan](/forum/user/20691-cattelan "View Cattelan's Profile")**
- [![Cattelan's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/quiet.jpg)](/forum/user/20691-cattelan "View Cattelan's Profile") Topic Author
- [ Offline](/forum/user/20691-cattelan)

Less More

- Posts: 155
- Thank you received: 4
-
-

9 years 8 months ago -  9 years 8 months ago [\#262430](#262430) by [Cattelan](/forum/user/20691-cattelan "View Cattelan's Profile")  *[\[SOLVED\]Notice: Trying to get property of non-object in in cart after upgrade](/forum/25-install-update/888861-solved-notice-trying-to-get-property-of-non-object-in-in-cart-after-upgrade#262430 "-- HikaShop version -- : 3.0.0 business -- Joomla version -- : 3.6.5 -- PHP version -- : .6.23-1 -- Browser(s) name and version -- : chrome -- Error-message(debug-mod must be tuned on) -- : Notice: Trying to get property of non-object in  After updating to version 3.0.0 i get Notice: Trying to get property of non-object in in the cart module  please give advice  thanks in advance")* was created by *[Cattelan](/forum/user/20691-cattelan "View Cattelan's Profile")*

-- HikaShop version -- : 3.0.0 business
-- Joomla version -- : 3.6.5
-- PHP version -- : .6.23-1
-- Browser(s) name and version -- : chrome
-- Error-message(debug-mod must be tuned on) -- : Notice: Trying to get property of non-object in

After updating to version 3.0.0 i get Notice: Trying to get property of non-object in in the cart module

please give advice

thanks in advance  [ ![Screenshot&#95;20170215&#95;145813.png](/forum/attachment/36354) ](/forum/attachment/36354 "...215&#95;145813.png")

- [ ![Screenshot&#95;20170215&#95;145813.png](/forum/attachment/36354) ](/forum/attachment/36354 "...215&#95;145813.png") [ ](/forum/attachment/36354?download=1 "...215&#95;145813.png")

Last edit: 9 years 8 months ago by [Cattelan](/forum/user/20691-cattelan "View Cattelan's Profile").

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

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

Less More

- Posts: 1
- Thank you received: 0
-
-

9 years 8 months ago [\#262456](#262456) by [Markers](/forum/user/33800-markers "View Markers's Profile")  Replied by *[Markers](/forum/user/33800-markers "View Markers's Profile")* on topic *[Notice: Trying to get property of non-object in in cart after upgrade](/forum/25-install-update/888861-solved-notice-trying-to-get-property-of-non-object-in-in-cart-after-upgrade#262456 "-- HikaShop version -- : 3.0.0 business -- Joomla version -- : 3.6.5 -- PHP version -- : .6.23-1 -- Browser(s) name and version -- : chrome -- Error-message(debug-mod must be tuned on) -- : Notice: Trying to get property of non-object in  After updating to version 3.0.0 i get Notice: Trying to get property of non-object in in the cart module  please give advice  thanks in advance")*

Could this be due to the bug in the administrator code?

There is a bug in the administrator code file types/delay.php line 120, the variable name is given as "$return" when it should be "$ret".

When I fixed this not only did the error message in the admin advanced settings go away, but the problem that Cattelan is reporting also disappeared.

Seems odd, but there y'go...

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg4ODg2MS1zb2x2ZWQtbm90aWNlLXRyeWluZy10by1nZXQtcHJvcGVydHktb2Ytbm9uLW9iamVjdC1pbi1pbi1jYXJ0LWFmdGVyLXVwZ3JhZGU/dG1wbD1tYXJrZG93bg==) 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: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

9 years 8 months ago [\#262439](#262439) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Notice: Trying to get property of non-object in in cart after upgrade](/forum/25-install-update/888861-solved-notice-trying-to-get-property-of-non-object-in-in-cart-after-upgrade#262439 "-- HikaShop version -- : 3.0.0 business -- Joomla version -- : 3.6.5 -- PHP version -- : .6.23-1 -- Browser(s) name and version -- : chrome -- Error-message(debug-mod must be tuned on) -- : Notice: Trying to get property of non-object in  After updating to version 3.0.0 i get Notice: Trying to get property of non-object in in the cart module  please give advice  thanks in advance")*

Hi,

Can you please provide the context when that message is displayed exactly ?
The warning indicates that there is no "hikashop_cart" module loaded by Joomla and the "module_id" parameter is not related to a valid module.

Afterwards, it is just a notice, so there is nothing problematic because such kind of PHP notice should not be displayed in a website in production.

Regards,

---

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

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

- **[Cattelan](/forum/user/20691-cattelan "View Cattelan's Profile")**
- [![Cattelan's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/quiet.jpg)](/forum/user/20691-cattelan "View Cattelan's Profile") Topic Author
- [ Offline](/forum/user/20691-cattelan)

Less More

- Posts: 155
- Thank you received: 4
-
-

9 years 8 months ago [\#262535](#262535) by [Cattelan](/forum/user/20691-cattelan "View Cattelan's Profile")  Replied by *[Cattelan](/forum/user/20691-cattelan "View Cattelan's Profile")* on topic *[Notice: Trying to get property of non-object in in cart after upgrade](/forum/25-install-update/888861-solved-notice-trying-to-get-property-of-non-object-in-in-cart-after-upgrade#262535 "-- HikaShop version -- : 3.0.0 business -- Joomla version -- : 3.6.5 -- PHP version -- : .6.23-1 -- Browser(s) name and version -- : chrome -- Error-message(debug-mod must be tuned on) -- : Notice: Trying to get property of non-object in  After updating to version 3.0.0 i get Notice: Trying to get property of non-object in in the cart module  please give advice  thanks in advance")*

it appears when you add a product to the cart. You can try it by yourself [ www.ilmondodiwit.com/shop/gioielli.html](http://www.ilmondodiwit.com/shop/gioielli.html)

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

- **[Cattelan](/forum/user/20691-cattelan "View Cattelan's Profile")**
- [![Cattelan's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/quiet.jpg)](/forum/user/20691-cattelan "View Cattelan's Profile") Topic Author
- [ Offline](/forum/user/20691-cattelan)

Less More

- Posts: 155
- Thank you received: 4
-
-

9 years 8 months ago [\#262536](#262536) by [Cattelan](/forum/user/20691-cattelan "View Cattelan's Profile")  Replied by *[Cattelan](/forum/user/20691-cattelan "View Cattelan's Profile")* on topic *[Notice: Trying to get property of non-object in in cart after upgrade](/forum/25-install-update/888861-solved-notice-trying-to-get-property-of-non-object-in-in-cart-after-upgrade#262536 "-- HikaShop version -- : 3.0.0 business -- Joomla version -- : 3.6.5 -- PHP version -- : .6.23-1 -- Browser(s) name and version -- : chrome -- Error-message(debug-mod must be tuned on) -- : Notice: Trying to get property of non-object in  After updating to version 3.0.0 i get Notice: Trying to get property of non-object in in the cart module  please give advice  thanks in advance")*

Solved. It was due to multilanguage and the module was signed only for one language. i added the modules for other languages and now it works. Thanks

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

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

[](#top)
