Fatal error: Call to a member function getDefaultStoreId() on a non-object in /srv/magento/current/app/code/community/Cminds/Core/Model/Core.php on line 164