The best I could think is that you need a volt-ohm meter to check for continuity to see if there is a ground somewhere. Also make sure that the plug and associated wiring to the thermostat is correct for the hot wire being interrupted. Since you replaced the thermostat, make sure it is the correct one for the model and that the sensor is properly mounted.