Skip to content

Magento: Call to a member function getStoreId()


Fatal error: Call to a member function getStoreId() on a non-object in /app/code/core/Mage/Bundle/Model/Selection.php on line 73

When trying to import a csv file with bundle products and you receive this error, apply this solution!

you will need to modify this page:

on line 73

Change this code:

$storeId = Mage::registry('product')->getStoreId();

To this code:

$storeId = 0;//Mage::registry('product')->getStoreId();
Read more from Magento

Share your thoughts, post a comment.


Note: HTML is allowed. Your email address will never be published.

Subscribe to comments