Sometimes dodgy drivers door lock actuator. One of the micro switches provides the earth for tailgate and can cause problems. Had this on mine several years ago. Also as said spring in tailgate switch rusts away and stops contacts working inside button