According to this website, "You must put an article in front of a singular count noun.".
So my question is "There was no student" is a wrong sentence, isn't it?
& "There were no students" is the correct one, right? "No students" means not any students or not all students.
Since "student" is countable singular noun, so we have to say "no students" not "no student"
Best Answer
I hope you read this sentence on the website:
Anyway, the page you are reading is titled Articles. But there are other things that can go before singular count nouns. Things such as numbers (one student), the word "no" (no student), possessive pronouns (her student), demonstrative pronouns (that student). All these things, including articles, are often called determiners. And usually you need a determiner before a singular count noun.
Example:
or
Both responses are correct.