Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Error generated after deleting demo data Fatal error: Call to a member function getId()
 
picou
Jr. Member
 
Total Posts:  13
Joined:  2008-05-25
 

Error generated after deleting demo data.
I was testing and preparing the site for production. demo data was fine, testing the basket fuctions with a registered test client.
When I deleted the demo products and logged again with the registered test client the error below appeared.
error is:
Fatal error: Call to a member function getId() on a non-object in /home/lacave/public_html/app/code/core/Mage/Sales/Model/Quote/Item.php on line 142

I know I had 2 products pending in my basket.
This operation breaks the site if trying to log in.
I tried deleating the test client this did not help.
Any suggestions?

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top