My main admin login is not working though sub-admin are working well.
Error produce: I have created few sites and store views as well as few sub-admin with limited access. I deleted a website from admin and after that admin login display below error message. Other sub-admin can login to admin of site but Main administartor is not able to login to admin.
Error message:
There has been an error processing your request Invalid website id requested.
Trace: 0 /app/code/core/Mage/Core/Model/App.php(950): Mage::exception('Mage_Core', 'Invalid website...') 1 /app/code/core/Mage/Core/Model/Store.php(465): Mage_Core_Model_App->getWebsite('3') 2 /app/code/core/Mage/Tax/Block/Adminhtml/Notifications.php(150): Mage_Core_Model_Store->getWebsite() 3 /app/design/adminhtml/default/default/template/tax/notifications.phtml(31): Mage_Tax_Block_Adminhtml_Notifications->getWebsitesWithWrongDiscountSettings() 4 /app/code/core/Mage/Core/Block/Template.php(241): include('/home/develop/d...') 5 /app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('adminhtml/defau...') 6 /app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView() 7 /app/code/core/Mage/Adminhtml/Block/Template.php(81): Mage_Core_Block_Template->_toHtml() 8 /app/code/core/Mage/Tax/Block/Adminhtml/Notifications.php(196): Mage_Adminhtml_Block_Template->_toHtml() 9 /app/code/core/Mage/Core/Block/Abstract.php(919): Mage_Tax_Block_Adminhtml_Notifications->_toHtml() 10 /app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml() 11 /app/code/core/Mage/Core/Block/Abstract.php(919): Mage_Core_Block_Text_List->_toHtml() 12 /app/code/core/Mage/Core/Block/Abstract.php(637): Mage_Core_Block_Abstract->toHtml() 13 /app/code/core/Mage/Core/Block/Abstract.php(581): Mage_Core_Block_Abstract->_getChildHtml('notifications', true) 14 /app/design/adminhtml/default/default/template/page.phtml(55): Mage_Core_Block_Abstract->getChildHtml('notifications') 15 /app/code/core/Mage/Core/Block/Template.php(241): include('/home/develop/d...') 16 /app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('adminhtml/defau...') 17 /app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView() 18 /app/code/core/Mage/Adminhtml/Block/Template.php(81): Mage_Core_Block_Template->_toHtml() 19 /app/code/core/Mage/Core/Block/Abstract.php(919): Mage_Adminhtml_Block_Template->_toHtml() 20 /app/code/core/Mage/Core/Model/Layout.php(555): Mage_Core_Block_Abstract->toHtml() 21 /app/code/core/Mage/Core/Controller/Varien/Action.php(390): Mage_Core_Model_Layout->getOutput() 22 /app/code/core/Mage/Adminhtml/controllers/DashboardController.php(43): Mage_Core_Controller_Varien_Action->renderLayout() 23 /app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Adminhtml_DashboardController->indexAction() 24 /app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('index') 25 /app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http)) 26 /app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch() 27 /app/Mage.php(684): Mage_Core_Model_App->run(Array) 28 /index.php(90): Mage::run('', 'store') 29 {main}
How to fix this issue. Urgent help required.