Issue #2257075 by rudiedirkx, Placinta, SpadXIII, rv0: Headers already sent error when page not found/access denied