Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/tuningempirecom/peregrinecustom.com/app/code/community/Mage/Core/functions.php on line 32

Fatal error: Uncaught TypeError: Argument 1 passed to Mage_Core_Model_Store::setWebsite() must be an instance of Mage_Core_Model_Website, null given, called in /home/tuningempirecom/peregrinecustom.com/app/code/core/Mage/Core/Model/App.php on line 645 and defined in /home/tuningempirecom/peregrinecustom.com/app/code/core/Mage/Core/Model/Store.php:453 Stack trace: #0 /home/tuningempirecom/peregrinecustom.com/app/code/core/Mage/Core/Model/App.php(645): Mage_Core_Model_Store->setWebsite(NULL) #1 /home/tuningempirecom/peregrinecustom.com/app/code/core/Mage/Core/Model/App.php(477): Mage_Core_Model_App->_initStores() #2 /home/tuningempirecom/peregrinecustom.com/app/code/core/Mage/Core/Model/App.php(360): Mage_Core_Model_App->_initCurrentStore('', 'store') #3 /home/tuningempirecom/peregrinecustom.com/app/Mage.php(683): Mage_Core_Model_App->run(Array) #4 /home/tuningempirecom/peregrinecustom.com/index.php(68): Mage::run('', 'store') #5 {main} thrown in /home/tuningempirecom/peregrinecustom.com/app/code/core/Mage/Core/Model/Store.php on line 453