Roger Federer has withdrawn from the Miami Open due to a stomach virus.

Roger Federer has withdrawn from the Miami Open due to a stomach virus, the tournament announced Friday.

The No. 3 player in the world was scheduled to play Juan Martin del Potro in the second round on Friday, but withdrew due to his illness. The tournament announced Horacio Zeballos will take Federer’s place.

The is the fourth straight tour event Federer will not compete in. He also missed the Rotterdam Open, the Dubai Championships and the Indian Wells Masters due to a knee injury.

• WERTHEIM: Equal pay for men, women is asset to tennis

Federer last played in the Australian Open, where he lost in the semifinals to Novak Djokovic. Federer underwent arthroscopic surgery to repair a torn meniscus in February, but was set to return in Miami before the virus.