This can be a serious problem and mean one of your plugins has caused a lot of problems with your site. It is a scary experience when you cannot log in to your own site.

That being said, try this first.

Look at your functions.php file and find any empty spaces at the top or bottom. Remove those spaces and re-upload functions.php. That may solve your problem and save you a TON of time and grey hair!