I ran across the same thing, and the code was already present in footer.php. I took all the blank lines out and the error disappeared. Not sure if that had anything to do with it, or if clicking “save” a few times will clear it, but it might be worth a shot.