You should really redirect before you start page output
  • line 1237 of /lib/outputrenderers.php: call to debugging()
  • line 2983 of /lib/weblib.php: call to core_renderer->redirect_message()
  • line 37 of /auth/ldap/ntlmsso_attempt.php: call to redirect()