Page 1 of 1

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

Posted: Tue Jun 23, 2009 7:07 am
by it@isa-arbor.com
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.

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

Posted: Tue Jun 23, 2009 7:16 am
by mazhar
Please read following thread
viewtopic.php?f=42&t=10765

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

Posted: Tue Jun 23, 2009 7:16 am
by it@isa-arbor.com
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.

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

Posted: Tue Jun 23, 2009 8:05 am
by mazhar
sounds good. I thought its something wrong with user agent.

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

Posted: Tue Jun 23, 2009 8:07 am
by it@isa-arbor.com
I greatly appreciate your prompt post. You've always been very helpful when I have posted on the forums.