Support » Plugin: SAML 2.0 Single Sign-On » Error setting cookies

  • Forgive my newness to all of this, but I’m new at WordPress and I’m getting the SAML plugin to work has been a challenge. I’me getting the following error and am not sure what I need to do next. Any insight would be appreciated.

    SimpleSAML_Error_Exception: Error setting cookie – headers already sent.

Viewing 1 replies (of 1 total)
  • Plugin Author ktbartholomew


    “Headers already sent” is a common PHP error that is caused when you have output content (such as text or HTML) to the page, and then try to set headers after that. Headers like Set-Cookie, Location, Content-Type, etc. must ALL be sent before you start outputting the body of the response.

    I would check your various plugins and themes to be sure that none of them are sending output prematurely. Sometimes, this can even just be whitespace before your opening PHP tag!

Viewing 1 replies (of 1 total)
  • The topic ‘Error setting cookies’ is closed to new replies.