Other mistake: When the kids are opening their lockers, they enter the code, then pull on the lock to open the locker. The closed lock is still attached to the front of the locker. When they close it, it's magically locked again without them ever opening or closing the lock. In reality, these locks would be useless, or the locker doors wouldn't open.
Other mistake: Many of the Warblers appear in McKinley throughout the show, even after the Warblers were introduced. An example of this is that Trent is often seen walking throughout the halls of McKinley. He even sits in front of Finn in "Substitute" when Holly Holiday is teaching the students Spanish.
Other mistake: During "Asian F", when Kurt is filling out his NYADA application, he lists his address as "415 Whitman Avenue". Yet during "The First Time", when Rachel is approaching Finn and Kurt's house, the number on the house is 291.
Answer: The show is purposefully stylized and over the top. It is not designed to be an accurate, realistic representation of American high school. The idea that the glee club is so unpopular other students can literally throw garbage at them with impunity is an over-exaggeration of how glee club is considered "un-cool" compared to things like football. However, there is a second way of looking at it. The audience is simply never shown anyone getting into any trouble for throwing slushies. Just because we don't see it doesn't mean it never happened.
BaconIsMyBFF