Title: PHP &amp; Rest API Errors
Last modified: March 29, 2022

---

# PHP & Rest API Errors

 *  Resolved [zokkoz](https://wordpress.org/support/users/zokkoz/)
 * (@zokkoz)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/php-rest-api-errors/)
 * Hi,
 * I love your plugin but every single time I try to use it I get the 2 following
   PHP & Rest API errors (from site health):
 * **An active PHP session was detected**
 * 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.
 * **The REST API encountered an error**
 * The REST API is one way WordPress, and other applications, communicate with the
   server. One example is the block editor screen, which relies on this to display,
   and save, your posts and pages.
 * The REST API request failed due to an error.
    Error: cURL error 28: Operation
   timed out after 10001 milliseconds with 0 bytes received (http_request_failed)
 * Can you please fix them in the plugin?
 * Kindly,

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

 *  [Prosenjit Barman](https://wordpress.org/support/users/prosenjitbarman/)
 * (@prosenjitbarman)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/php-rest-api-errors/#post-15513526)
 * Hi, [@zokkoz](https://wordpress.org/support/users/zokkoz/)
    Thanks for reaching
   out to us!
 * I have checked the WP Fundraising plugin properly but couldn’t be able to detect
   any issue with it in the System Info section. Everything is fine there.
 * Sometimes, a conflict between plugins can cause these types of issues. You can
   run a plugin conflict test on your site to determine if the issue is being caused
   by a plugin. To do so, please deactivate other plugins except for WP-Fundraising
   and check if the issue still persists. If that solves your problem, activate 
   the plugins one by one, and continue checking until you find the one that is 
   causing this issue.
 * I hope that will help you to figure it out. If you need further assistance in
   this matter, don’t hesitate to reach us. We will be happy to assist you.
 * Best Regards,
    Prosenjit
 *  Thread Starter [zokkoz](https://wordpress.org/support/users/zokkoz/)
 * (@zokkoz)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/php-rest-api-errors/#post-15519175)
 * Hi,
 * Thanks a lot for your support. I did what you recommended me to do and it helped
   me find that there is in fact a conflict with WooCommerce. I deactivated all 
   plugins except WooCommerce and your plugin. When WooCommerce is activated the
   problem appears but when I deactivate only WooCommerce and keep every other plugins
   activated the issue disappears. So the conflict is with Woocommerce. But I have
   to use WooCommerce for the transactions. Can you please take a look at this conflict?
   Just to make sure: the issue can be seen from wp-admin >> Tools >> Site Health.
 * Kindly,
    -  This reply was modified 4 years, 2 months ago by [zokkoz](https://wordpress.org/support/users/zokkoz/).
 *  [Prosenjit Barman](https://wordpress.org/support/users/prosenjitbarman/)
 * (@prosenjitbarman)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/php-rest-api-errors/#post-15523785)
 * Hello [@zokkoz](https://wordpress.org/support/users/zokkoz/)
    Hope you are doing
   well!
 * I have tested the WP-Fundraising Plugin keeping the WooCommerce plugin activated
   and successfully been able to reproduce the issue. I have forwarded the issue
   to the dev team soon after detecting the issue. Hopefully, Till then, please 
   stay tuned!
 * If there is anything else that you need help with, feel free to let me know. 
   I will be happy to assist you.
 * Best Regards,
    Prosenjit
 *  Thread Starter [zokkoz](https://wordpress.org/support/users/zokkoz/)
 * (@zokkoz)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/php-rest-api-errors/#post-15833118)
 * Hi Guys,
 * Hope yo doing great. Few months ago you said you will take a look at the issue.
   But it remains the same. As described bellow:
 *     ```
       2 critical issues
   
       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.
   
       The REST API encountered an error
       Performance
       The REST API is one way WordPress, and other applications, communicate with the server. One example is the block editor screen, which relies on this to display, and save, your posts and pages.
   
       The REST API request failed due to an error.
       Error: cURL error 28: Operation timed out after 10001 milliseconds with 0 bytes received (http_request_failed)
       ```
   
 * When will you please fix it?
 * Kindly,
 *  [Prosenjit Barman](https://wordpress.org/support/users/prosenjitbarman/)
 * (@prosenjitbarman)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/php-rest-api-errors/#post-15848375)
 * Hello [@zokkoz](https://wordpress.org/support/users/zokkoz/) ,
    I hope you are
   doing well and I sincerely apologize for the delayed response.
 * You might be aware that the WP-Fundraising plugin was taken off from the WordPress
   Repository a few months ago. The WP Authority has detected some issues there 
   and the entire team was involved in fixing those issues. The issues reported 
   by WordPress were very crucial to fix and That is why we couldn’t able to focus
   on the Bug Reports that came from the user.
 * However, After making the required Adjustments, We finally were able to bring
   it back. We already have started working on the issues that came from the users
   and hopefully, the issue you have reported will also be resolved soon. I appreciate
   your continued patience and cooperation in this matter. You’ll surely be notified
   once the patch for this issue is ready.
 * If there is anything else you need help with, please let me know. I will be happy
   to assist you.
 * Best Regards,
    Prosenjit
 *  [mercheclark](https://wordpress.org/support/users/mercheclark/)
 * (@mercheclark)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/php-rest-api-errors/#post-15892261)
 * I’m having the same issue with php Sessions and Woocommerce. Is there any way
   I can get around the issue? (I need Sessions to keep data that I need to calculates
   customer specific prices)

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

The topic ‘PHP & Rest API Errors’ is closed to new replies.

 * ![](https://ps.w.org/wp-fundraising-donation/assets/icon-256x256.png?rev=2544150)
 * [FundEngine – Donation and Crowdfunding Platform](https://wordpress.org/plugins/wp-fundraising-donation/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-fundraising-donation/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-fundraising-donation/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-fundraising-donation/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-fundraising-donation/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-fundraising-donation/reviews/)

## Tags

 * [errors](https://wordpress.org/support/topic-tag/errors/)

 * 6 replies
 * 4 participants
 * Last reply from: [mercheclark](https://wordpress.org/support/users/mercheclark/)
 * Last activity: [3 years, 10 months ago](https://wordpress.org/support/topic/php-rest-api-errors/#post-15892261)
 * Status: resolved