You might encounter the message Argument 1 passed to Mage_Core_Model_Store::setWebsite() must be an instance of Mage_Core_Model_Website, null given when moving your store to another server.

The solution is straightforward. Run the following SQL queries to resolve the issue:

Fixing the Mage_Core_Model_Store::setWebsite() argument type error
Need help implementing this solution, or still looking for a fix to your Magento problem? Get in touch and I will be happy to help with your project.
Tags: