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