Divine favor doesn't have an attack roll - what is the attack roll from? That code is a broken link to a sheet-generated damage macro. It looks like you have deleted the name of whatever weapon you're rolling from the Attacks & Spellcasting section, and it has nothing to do with divine favor.