If they are rotten in flavor, then I would suspect infection too. Give her a round of antibiotics and see if that clears things up. If she is only mildly sick she will still lay eggs. It takes severe sickness usually to knock a hen out of laying (it's a sign of seriously bad juju).