As for the sensor connections, they can become corroded, or particles can get lodge inside, either can prevent a good connections.
When you take the back panel of the cabinet off to check, as mentioned by Sam66, look for other damage to the connectors, and also check the connections to the temperature sensor. A bad connection there can also cause an E1 code.