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

  1. wafialsafi
    Posted 2 years 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.


  2. ktbartholomew
    Plugin Author

    Posted 2 years 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!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • SAML 2.0 Single Sign-On
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic