Support » Fixing WordPress » An active PHP session was detected?

  • Resolved Jun

    (@keyos27)


    Hello. On my Site Health, “An active PHP session was detected” showed up and it displays the following details.


    A PHP session was created by a session_start() function call. This interferes with REST API and loopback requests. The session should be closed by session_write_close() before making any HTTP requests.

    How do I solve this problem? Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator t-p

    (@t-p)

    This may be a plugin or theme conflict. Please attempt to disable all plugins, and switch to the default Twenty Twenty theme. If the problem goes away, enable them one by one to identify the source of the problem.

    If you can install plugins, install Health Check. On the troubleshooting tab, you can click the button to disable all plugins and change the theme for you, while you’re still logged in, without affecting normal visitors to your site.

    Thread Starter Jun

    (@keyos27)

    Thank you. Installing the Health Check did it.

    Moderator t-p

    (@t-p)

    Glad its sorted 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘An active PHP session was detected?’ is closed to new replies.