Unplug the refrigerator and reconnect any loose connections on the wire harness on the temperature sensor for the refrigerator compartment, which is in the upper right corner of the refrigerator. Replace the wire harness if damaged. If the wire harness connection is okay, replace the refrigerator compartment temperature sensor.