Can not add item to cart - is null or not an object

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
it@isa-arbor.com
Lieutenant (LT)
Lieutenant (LT)
Posts: 54
Joined: Fri Aug 15, 2008 7:56 am

Can not add item to cart - is null or not an object

Post by it@isa-arbor.com » Tue Jun 23, 2009 7:07 am

We are running AC 7.0.2. The store has performed well since last fall, but today we hit an error. Customers can not add a product to their cart from the product detail/description page. No errors show up in the store log, but three errors are visible in Internet Explorer.

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Timestamp: Tue, 23 Jun 2009 13:18:19 UTC


Message: 'ctl00_wpm_ShowProduct_ctl11_NameRequired' is null or not an object
Line: 1344
Char: 1
Code: 0
URI: http://secure.isa-arbor.com/webstore/Tr ... -P298.aspx


Message: 'null' is null or not an object
Line: 289
Char: 9
Code: 0
URI: http://secure.isa-arbor.com/webstore/Sc ... 0364218750


Message: 'null' is null or not an object
Line: 205
Char: 5
Code: 0
URI: http://secure.isa-arbor.com/webstore/Sc ... 0364218750
My hunch is something is corrupt or missing in the database or a file on the site is corrupt. We need help resolving this issue.

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Can not add item to cart - is null or not an object

Post by mazhar » Tue Jun 23, 2009 7:16 am

Please read following thread
viewtopic.php?f=42&t=10765

it@isa-arbor.com
Lieutenant (LT)
Lieutenant (LT)
Posts: 54
Joined: Fri Aug 15, 2008 7:56 am

Re: Can not add item to cart - is null or not an object

Post by it@isa-arbor.com » Tue Jun 23, 2009 7:16 am

This must have been broken unoticed for a few weeks. Several weeks ago we commented out
[[ConLib:ProductTellAFriend]]
From the product bar like this
<!--[[ConLib:ProductTellAFriend]]-->
That broke the page and created the errors. Readding this line or completely deleting it solved the problem. We're good to go.

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Can not add item to cart - is null or not an object

Post by mazhar » Tue Jun 23, 2009 8:05 am

sounds good. I thought its something wrong with user agent.

it@isa-arbor.com
Lieutenant (LT)
Lieutenant (LT)
Posts: 54
Joined: Fri Aug 15, 2008 7:56 am

Re: Can not add item to cart - is null or not an object

Post by it@isa-arbor.com » Tue Jun 23, 2009 8:07 am

I greatly appreciate your prompt post. You've always been very helpful when I have posted on the forums.

Post Reply