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

#   Inappropriate notices on viewing cart

##

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

Less More

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

11 years 1 month ago [\#217189](#217189) by [boxcarmib](/forum/user/39131-boxcarmib "View boxcarmib's Profile")  *[Inappropriate notices on viewing cart](/forum/27-checkout/879839-inappropriate-notices-on-viewing-cart#217189 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- PHP version -- : 5.6.13 -- Browser(s) name and version -- : safari -- Error-message(debug-mod must be tuned on) -- : Notice: Trying to get property of non-object in /sites/newps/components/com&#95;hikashop/views/cart/view.html.php on line 119  Notice: Trying to get property of non-object in /sites/newps/components/com&#95;hikashop/views/cart/view.html.php on line 122  Notice: Trying to get property of non-object in /sites/newps/components/com&#95;hikashop/views/cart/view.html.php on line 123  When a user logs in from the front end I have them being sent to their cart. A newly created user results in the notices posted above. Is there a fix?")* was created by *[boxcarmib](/forum/user/39131-boxcarmib "View boxcarmib's Profile")*

-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.4.4
-- PHP version -- : 5.6.13
-- Browser(s) name and version -- : safari
-- Error-message(debug-mod must be tuned on) -- : Notice: Trying to get property of non-object in /sites/newps/components/com_hikashop/views/cart/view.html.php on line 119

Notice: Trying to get property of non-object in /sites/newps/components/com_hikashop/views/cart/view.html.php on line 122

Notice: Trying to get property of non-object in /sites/newps/components/com_hikashop/views/cart/view.html.php on line 123

When a user logs in from the front end I have them being sent to their cart. A newly created user results in the notices posted above.
Is there a fix?

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

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

Less More

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

11 years 1 month ago [\#217191](#217191) by [boxcarmib](/forum/user/39131-boxcarmib "View boxcarmib's Profile")  Replied by *[boxcarmib](/forum/user/39131-boxcarmib "View boxcarmib's Profile")* on topic *[Inappropriate notices on viewing cart](/forum/27-checkout/879839-inappropriate-notices-on-viewing-cart#217191 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- PHP version -- : 5.6.13 -- Browser(s) name and version -- : safari -- Error-message(debug-mod must be tuned on) -- : Notice: Trying to get property of non-object in /sites/newps/components/com&#95;hikashop/views/cart/view.html.php on line 119  Notice: Trying to get property of non-object in /sites/newps/components/com&#95;hikashop/views/cart/view.html.php on line 122  Notice: Trying to get property of non-object in /sites/newps/components/com&#95;hikashop/views/cart/view.html.php on line 123  When a user logs in from the front end I have them being sent to their cart. A newly created user results in the notices posted above. Is there a fix?")*

Okay, I spoke too soon.
The problem is with a Haikashop plugin to intercept with event onBeforeCartUpdate
I was using a "break" statement to interrupt program flow to examine var_dumps in developing the plugin... and before I started using a pop-up on an "add to cart" product button, it worked fine.
However, if you go of the pop-up, having a break in the plugin doesn't suspend program execution, it just seems to short-circuit the add-to-cart haikashop logic and leaves the system in a bad shape.
Sorry for the false alarm... but hopefully my experience will help others.

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

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