Title: session_write_close()
Last modified: August 28, 2020

---

# session_write_close()

 *  [Drain0](https://wordpress.org/support/users/drain0/)
 * (@drain0)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/session_write_close/)
 * FYI: Your plugin seems to be the cause of this warning in the site health screen:
 * “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.”
 * see [https://wordpress.org/support/topic/critical-issue-active-php-session/](https://wordpress.org/support/topic/critical-issue-active-php-session/)

The topic ‘session_write_close()’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/awesome-flickr-gallery-plugin_7e702f.
   svg)
 * [Awesome Flickr Gallery](https://wordpress.org/plugins/awesome-flickr-gallery-plugin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/awesome-flickr-gallery-plugin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/awesome-flickr-gallery-plugin/)
 * [Active Topics](https://wordpress.org/support/plugin/awesome-flickr-gallery-plugin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/awesome-flickr-gallery-plugin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/awesome-flickr-gallery-plugin/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Drain0](https://wordpress.org/support/users/drain0/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/session_write_close/)
 * Status: not resolved