WordPress error: The uploaded file could not be moved to

Error message came up when my friend upload a photo :

The uploaded file could not be moved to xxxxxxx

Yes, it seem he change to new host and since wordpress automatically save old location to database the error show up.

Solution

Open Admin Page -> Settings -> miscellaneous

Make sure value of Store uploads in this folder set to wp-content/uploads

Click Save Changes and try upload photo again.

Everything should be OK now 🙂