Rear lights not working
Any bulb warning messages on the instrument cluster?
Remove the rear SAM and take the cover off. Inspect everything from the plug on the body harnesses to the circuit board itself. Any hint of verdigris, spray it thoroughly with electrical contact cleaner and go over it with an extremely soft brush... Something along the lines of a baby's toothbrush. Allow to dry and plug it back in to test.
Also remove the rear light clusters and thoroughly inspect the bulb holders and their associated contact surfaces. Repair/replace as required.
Also consider that the W164, like many modern cars, has the facility to illuminate different bulbs if it senses failure. For example it will use a tail light or fog light if a brake light bulb fails. A consequence of this is that you see the message and when you check, the bulbs appear to be working. Cross check the lights that are illuminating with those detailed in the owners manual.
By 2010 they raised the SAM higher to minimize the water problem but if you see rubber seals dry rotted you might want to keep a quality tape over any gap
I am serious I would change out a socket, fix it and then a never had a problem light would message the dash. Then it would message while driving but when I got home turned it off and restarted no message.
We are the rear lights and we want you to know we are in charge






