Title: php session
Last modified: July 8, 2022

---

# php session

 *  [Sanson](https://wordpress.org/support/users/coolest77/)
 * (@coolest77)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/php-session-5/)
 * i am having this issue
 * A PHP session has been created by the call to the session_start() function. This
   interferes with the REST API and return requests. The session should be closed
   by session_write_close() before making any HTTP requests.
 * reported by WP Site Health
 * must add this line to close session on php
 * sesion_write_close() in next update.
 * Can you tell file name and location to add the line in the mentime?
 * Thanks…
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-session-5%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [Sanson](https://wordpress.org/support/users/coolest77/)
 * (@coolest77)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/php-session-5/#post-15810545)
 * This was totally helpfull
 * [https://wordpress.org/support/topic/an-active-php-session-was-detected-by-the-plugin-site-health/](https://wordpress.org/support/topic/an-active-php-session-was-detected-by-the-plugin-site-health/)
 * end also read that the creator is supporting by GITHUB
 *  [jeeni](https://wordpress.org/support/users/jeeni/)
 * (@jeeni)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/php-session-5/#post-15921410)
 * Easy enough to do but I guess ThemeFuse isn’t interested in keeping their code
   up to date, since it’ll soon be closing on 2 years since this was found but not
   integrated into their plugin updates. (Plugin last updated 2 months ago. Really?)
   This was on a site I inherited. Wouldn’t recommend new users install this.
    -  This reply was modified 3 years, 9 months ago by [jeeni](https://wordpress.org/support/users/jeeni/).
 *  [jeeni](https://wordpress.org/support/users/jeeni/)
 * (@jeeni)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/php-session-5/#post-15921421)
 * (Thanks for sharing, [@coolest77](https://wordpress.org/support/users/coolest77/)!)

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘php session’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/unyson_4e6064.svg)
 * [Unyson](https://wordpress.org/plugins/unyson/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/unyson/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/unyson/)
 * [Active Topics](https://wordpress.org/support/plugin/unyson/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/unyson/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/unyson/reviews/)

## Tags

 * [keep](https://wordpress.org/support/topic-tag/keep/)
 * [open](https://wordpress.org/support/topic-tag/open/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [session](https://wordpress.org/support/topic-tag/session/)

 * 3 replies
 * 2 participants
 * Last reply from: [jeeni](https://wordpress.org/support/users/jeeni/)
 * Last activity: [3 years, 9 months ago](https://wordpress.org/support/topic/php-session-5/#post-15921421)
 * Status: not resolved