I am getting a error in Magento in load store module.
/** @var $websiteCollection Mage_Core_Model_Store */
$storeCollection = Mage::getModel('core/store')->getCollection()
->initCache($this->getCache(), 'app', array(Mage_Core_Model_Store::CACHE_TAG))
->setLoadDefault(true);
And I am getting.
Fatal error: Call to a member function getCollection() on a non-object in /var/www/html/includes/src/__default.php on line 20379
When I am trying to call module it return false.
var_dump(get_class(Mage::getModel('core/store')));exit;
How to fix it?