For anyone else trying to solve this, I was having the same problem with a custom theme. After much searching and troubleshooting, finally found that the solution was to make sure there are no blank spaces before, after, or even between functions in the functions.php file.
For me, there was one comment I had inserted between two functions. When I removed this and deleted the blank space, problem was solved! No more blank screens.