Stewie, Chris & Brian's Excellent Adventure - S13-E7
Plot hole: When it is revealed that Chris's teacher was never born, Teacher Doug introduces himself, despite the fact that if Chris's teacher was never born, Doug would already have been teacher for the entire year, and therefore all of the students should know him and he would not have to introduce himself.