It sounds like your doughnuts might be over-proofing during the second rise, which can cause them to go flat. Try shortening the second proofing time and keep an eye on them—once they look puffy and have almost doubled in size, they're ready to fry. Also, make sure the proofing environment isn’t too warm, and handle the dough gently to avoid deflating it.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.