Souring a beer when the wort tasted sweet is almost always a sign of infection, not age of extract or soap used in cleaning. Fermented in plastic? Something not sanitized made contact with the wort? Think through your process for where contamination might have occurred, and design a fix...