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