Worms will not cause all your fish to suddenly stop eating. I think you probably have a bacterial issue starting here ...my guess is the hamburger you feed has possibly rotted in the tank and they ate it or has gone bad before you fed it.
Either way If all your other water parameters are good and you havent added any new stock to the tank or house recently(last 1-2 weeks) ...then bacterial is my guess. I would stop offering food for a few days, treat with epsom salt to.flush them out and pitch the hamburger. If they dont seem better or start passing white feces or get swollen abdomens then I would treat with kanamycin.
Hth,
Al