Check wires to pan for oil level sensor.

Inspect them, if fine the sensor itself may have died.