Continuity mistake: The age gap between Eric and Cory decreases as the series progresses. At the start of the show, Cory is in 6th grade and Eric is a high school sophomore, meaning they are four years apart, give or take a few months. By season 3, Cory is in 9th grade (confirmed by dialogue mentioning that Shawn, who is in the same grade as Cory, is 15 years old), and Eric is a senior, leading to an age gap of three years. The first episode of season 4 takes place a couple months after the end of season 3, with Eric and Cory returning from a summer Road Trip, but just two episodes later, Cory mentions that he is in 11th grade, while Eric is still barely out of high school, leading to an age gap of two years.
Continuity mistake: When the house is shown from the front exterior, there is a window on the left, but when seen from the interior there is a hat rack there.
Continuity mistake: Establishing shots of the Matthews' house show the doorknob on the exterior of their front door to be on the left-hand side, but shots from inside the house show it to be on the right-hand side.
Chosen answer: In the present day, with the United States abiding by more stricter school health laws, for the most part this wouldn't be in school cafeterias as many cannot even have carbonated beverage machines now. However, in the 90s when the show takes place, it wasn't unheard of for there to be coffee machines in the cafeteria of small schools where the teachers eat with the students as we see them do often in the show. The idea being that the cafeteria was small enough so a teacher or hall monitor could catch a student before they could drink the coffee.