Title: Causing critical &#8220;session_write_close()&#8221; error
Last modified: October 13, 2021

---

# Causing critical “session_write_close()” error

 *  [marcelteaching](https://wordpress.org/support/users/marcelteaching/)
 * (@marcelteaching)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/causing-critical-session_write_close-error/)
 * This issue is repeatedly being described in the forums, yet no proper response
   is being provided.
 * Is this issue being fixed? It is causing a critical health issue. This is not
   the paid version, just the basic one which I am trialing.
 * Full Message:
 * An active PHP session was detected Performance 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.
 * If this issue is not addressed, it causes a 100% CPU load. OW!
    Is there a fix
   in development? When will it be released?

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [CaptainForm](https://wordpress.org/support/users/captainform/)
 * (@captainform)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/causing-critical-session_write_close-error/#post-14968082)
 * Hello,
 * Thank you for contacting us.
 * The message received is caused by the fact that our plugin is not currently updated
   to the latest PHP version. However, this shouldn’t have any impact on your forms
   and you can still collect data as usual. Unfortunately, we are not able to provide
   an estimate for when the plugin will be updated. If you experience any issues
   with your forms, please reach out to us at [support@captainform.com](https://wordpress.org/support/topic/causing-critical-session_write_close-error/support@captainform.com?output_format=md).
   We apologize for the inconveniences caused in the meantime and we look forward
   to hearing from you.

Viewing 1 replies (of 1 total)

The topic ‘Causing critical “session_write_close()” error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/captainform_84768f.svg)
 * [Forms by CaptainForm - Form Builder for WordPress](https://wordpress.org/plugins/captainform/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/captainform/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/captainform/)
 * [Active Topics](https://wordpress.org/support/plugin/captainform/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/captainform/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/captainform/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [CaptainForm](https://wordpress.org/support/users/captainform/)
 * Last activity: [4 years, 6 months ago](https://wordpress.org/support/topic/causing-critical-session_write_close-error/#post-14968082)
 * Status: not resolved