It used to be common for the wire harness to break at the hinge on the gate, might be a place to look.