WordPress.org

Ready to get started?Download WordPress

Forums

SAML 2.0 Single Sign-On
Error setting cookies (2 posts)

  1. wafialsafi
    Member
    Posted 11 months ago #

    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.

    http://wordpress.org/plugins/saml-20-single-sign-on/

  2. ktbartholomew
    Member
    Plugin Author

    Posted 11 months ago #

    "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!

Reply

You must log in to post.

About this Plugin

About this Topic