visit something (up)on someone
Fig. to inflict something upon someone. (Stilted. Upon is formal and less commonly used than on.) The FBI visited a plague of investigations on the mayor's staff. The storm visited disaster on the little village.
visit onor visit upon
To inflict something punishing or burdensome on someone or something. Used chiefly in the passive: A plague was visited on the village.