That’s a known bug and is present in Magento since version 1.1.2 and still isn’t fixed. The solution is quite easy and takes less than 5 minutes :)
Simply edit the following file using cpanel’s file manager:
app/code/core/Mage/Core/Model/App.php
in it around line 558, you should find the following:
$id = $this->_currentStore;
which is the culprit. The solution is to chnage this line to:
$id = $this->_currentStore ? $this->_currentStore : “default”;
Save the file, clear the cache and sessions by deleting the contents of the following folders:
and login anew :)