The sentence segment that contains a punctuation error is "yes I visited [...].
Explanation:
The sentence segment that contains a punctuation error is "yes I visited" because it should include a comma after <em>yes</em>. <u>Interjections</u>, such as <em>yes, no </em>and <em>indeed</em>, used at the start of a sentence are usually followed by a comma or an exclamation mark.