I would try and get it up on a lift and check it out from there. Get those codes read and written down. If you can plug them back in. Why or how did they get unplugged to begin with? Have you had issues when it comes to filling up your car? But anyways if you can plug them back in, disconnect the battery, drive the car and roughly around 100 or so miles if the CEL doesnt come back on, the problem should be resolved.
"2007 WRX- PPG'd, 20G- Tim Bailey tuned
Stage 2 2005 WRX