If a plant just wilts overnight it is most likely pinch off where the capillaries are cut off and the plant dies. If all the plants wilt in a garden then it is a root problem cause by a solution or pH problem. You did right by flushing and changing the solution.
lights shouldn't have anything to do with wilting.