to visit; to inquire, to ask
Phonosemantic compound. 言 represents the meaning and 方 represents the sound.
《說文》:“訪,汎謀曰訪。从言,方聲。”