A student uses the word 'affect' when the sentence requires 'effect.' Which type of error has the student made?