Was it because I drew from an empty deck without having my Tech cards queued up?
Actually, I think I know what happened. When I discarded at the end of the turn there was still a line of text left on the screen from the the turn that just ended. I believe that was because I left the a field highlighted when I did the end of turn. Because that text was still there, I deleted it and then generated the post template. I figured that would clear up the deletion and fix that field error. I don’t know but the actual result may have been a turn end?