- Posts: 155
- Thank you received: 4
[SOLVED]Notice: Trying to get property of non-object in in cart after upgrade
9 years 7 months ago - 9 years 7 months ago #262430
by Cattelan
[SOLVED]Notice: Trying to get property of non-object in in cart after upgrade was created by Cattelan
-- 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
-- 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
Last edit: 9 years 7 months ago by Cattelan.
Please Log in or Create an account to join the conversation.
9 years 7 months ago #262456
by Markers
Replied by Markers on topic Notice: Trying to get property of non-object in in cart after upgrade
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...
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 or Create an account to join the conversation.
9 years 7 months ago #262439
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Notice: Trying to get property of non-object in in cart after upgrade
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,
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 & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
9 years 7 months ago #262535
by Cattelan
Replied by Cattelan on topic Notice: Trying to get property of non-object in in cart after upgrade
it appears when you add a product to the cart. You can try it by yourself
www.ilmondodiwit.com/shop/gioielli.html
Please Log in or Create an account to join the conversation.
9 years 7 months ago #262536
by Cattelan
Replied by Cattelan on topic Notice: Trying to get property of non-object in in cart after upgrade
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 or Create an account to join the conversation.
Time to create page: 0.190 seconds