Rear lights on both sides no longer work

Both taillights no longer work. Lights are switched, fuses are changed (no fuses nor pears were defective). No error messages are read out. The brake lights go, rear lights go, fog lamp works and the license plate light works as well. Turn signal is working. I have also disconnected battery for several hours. Had problems with the ignition lock some time ago. Has done nothing while leaving. After taking out the lock Els and try again (three times in a row) everything went again. That’s almost two years ago now. Clutch pedal has recently made a click noise while cutting through. I think I haven’t forgotten anything.