2006 Mercedes E350 red battery warning light - go to workshop - not battery

Got the warning light after jumping the main battery; replaced the secondary battery, but the light stays on. Car cranks quickly.  It only has 53K miles.  I also have a message that the side marker light needs replacing. Any suggestions?  Thanks, Roger