Student or Learner
"No one knew who was the father, and probably Katie wasn't too certain herself."
I imagine that "... who the father was..." is a formal way of saying the same thing. Am I right?
If you are asking "Who was the father?", then no - this structure is fine.