Seeing } ?>, But Don't See Where to Fix

What I meant to say is even before the doctype is being sent! - which means it’s not in the code you attached.