This sentence contains an error because the Present Perfect tense ('have seen') is used with a specific past time indicator ('yesterday'). For a specific past time, the Past Simple tense should be used.
Corrected Sentence: I saw him yesterday.
Explanation: The Past Simple tense is used for completed actions at a specific time in the past. 'Saw' is the past tense of 'see'. The Present Perfect is used for actions without a specific past time reference or actions that continue to the present.