a fine state of affairs
A situation that has gone wrong and is very problematic. The term is an instance of irony or sarcasm. Well, this is a fine state of affairs we're in now. The client doesn't like the job we've done, and they want it fixed in less than a week.