Title: Active PHP session detected
Last modified: January 12, 2023

---

# Active PHP session detected

 *  [twojareklama](https://wordpress.org/support/users/twojareklama/)
 * (@twojareklama)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/active-php-session-detected-4/)
 * Hello !
   For some time I have been getting a critical error for which the FreshMail
   for WordPress plugin is responsible. The errors are as follows:
 * 1.
   Active PHP session detectedThe PHP session was created by calling the session_start()
   function. This conflicts with the REST API and loopback requests. The session
   should be terminated by session_write_close() before any HTTP requests are made.
 * and the other
   The REST API encountered an errorThe REST API is one of the ways
   WordPress and other applications communicate with the server. An example of using
   this mechanism is the block editor screen, which uses the REST API to display
   and save entries and pages.
 * An error was encountered while testing the REST API:
 * REST API address: [https://www.bkszkolenia.pl/wp-json/wp/v2/types/post?context=edit](https://www.bkszkolenia.pl/wp-json/wp/v2/types/post?context=edit)
   
   REST API response: (http_request_failed) cURL error 28: Operation timed out after
   10002 milliseconds with 0 bytes received
 * Can it be fixed somehow?
   Regards

The topic ‘Active PHP session detected’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/freshmail-integration_bbd12c.svg)
 * [FreshMail For Wordpress](https://wordpress.org/plugins/freshmail-integration/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/freshmail-integration/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/freshmail-integration/)
 * [Active Topics](https://wordpress.org/support/plugin/freshmail-integration/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/freshmail-integration/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/freshmail-integration/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [twojareklama](https://wordpress.org/support/users/twojareklama/)
 * Last activity: [3 years, 5 months ago](https://wordpress.org/support/topic/active-php-session-detected-4/)
 * Status: not resolved