Answer:
It is a grammatical error. It should be
'I was always told to pay attention in class.'
7.9m questions
10.6m answers