Title: Plugin causing critical issues
Last modified: May 11, 2023

---

# Plugin causing critical issues

 *  Resolved [arturs4](https://wordpress.org/support/users/arturs4/)
 * (@arturs4)
 * [2 years, 12 months ago](https://wordpress.org/support/topic/plugin-causing-critical-issues/)
 * Hi! I like your plugin “X-Currency”, but WP Site Health shows, that this plugin
   is causing 2 critical issues:
    1. **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.
    2. **The REST API encountered an error**
       The REST API is one way that WordPress
       and other applications communicate with the server. For example, the block editor
       screen relies on the REST API to display and save your posts and pages.When 
       testing the REST API, an error was encountered:REST API Endpoint: REST API Response:(
       http_request_failed) cURL error 28: Operation timed out after 10000 milliseconds
       with 0 bytes received
 * When I disable your plugin, these errors go away.
 * Can you please fix this?

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

 *  Plugin Author [DoatKolom](https://wordpress.org/support/users/doatkolom/)
 * (@doatkolom)
 * [2 years, 12 months ago](https://wordpress.org/support/topic/plugin-causing-critical-issues/#post-16732078)
 * Hi [@arturs4](https://wordpress.org/support/users/arturs4/)
 * Thanks for using the X-Currency plugin.
 * We have added the problem to our task list. I hope the issues will be fixed in
   X-Currency 1.4.0 version.
 * Within 1 week, we will release the 1.4.0 version.
 *  Thread Starter [arturs4](https://wordpress.org/support/users/arturs4/)
 * (@arturs4)
 * [2 years, 12 months ago](https://wordpress.org/support/topic/plugin-causing-critical-issues/#post-16733356)
 * Thank you for the fast reply!
 * There is another problem: when your plugin is enabled, all visited pages in browser’s
   history gets registered 4 times. Please, see this image: [https://i.postimg.cc/TYjTd70c/X-Currency-12-05-2023.jpg](https://i.postimg.cc/TYjTd70c/X-Currency-12-05-2023.jpg)
 * When I disable your plugin, this problem goes away. My developer said that by
   blocking your plugins file “switcher.js” this problem goes away too, but you 
   should check that.
 * Could you please fix this too?
 * Looking forward for the update! I like your plugin very much.
 *  Plugin Author [DoatKolom](https://wordpress.org/support/users/doatkolom/)
 * (@doatkolom)
 * [2 years, 12 months ago](https://wordpress.org/support/topic/plugin-causing-critical-issues/#post-16733561)
 * Thanks for knowing about the problem. From our side, we could not find the problem.
   Some other plugins may conflict with x-currency. Check the issue by disabling
   other plugins one by one.
 * Can give your website URL. And can you tell which browser has the problem?
 *  Thread Starter [arturs4](https://wordpress.org/support/users/arturs4/)
 * (@arturs4)
 * [2 years, 12 months ago](https://wordpress.org/support/topic/plugin-causing-critical-issues/#post-16733613)
 * I just disabled all non-essential plugins and left active only these: elementor,
   printful, rey core, woocommerce, x-currency. The problem with 4x history was 
   still there.
 * Then I disabled x-currency, and problem was gone.
 * I tested this on Firefox, Chrome, Edge, and this problem is with all these browsers.
 * How can I send you my URL privately? My site is still in development and I dont
   want to make it public.
 *  Plugin Author [DoatKolom](https://wordpress.org/support/users/doatkolom/)
 * (@doatkolom)
 * [2 years, 12 months ago](https://wordpress.org/support/topic/plugin-causing-critical-issues/#post-16734248)
 * If you want to send the URL personally, you can send it to our Facebook page 
   inbox.
 *  Thread Starter [arturs4](https://wordpress.org/support/users/arturs4/)
 * (@arturs4)
 * [2 years, 12 months ago](https://wordpress.org/support/topic/plugin-causing-critical-issues/#post-16734721)
 * Done. Please check your facebook inbox.

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

The topic ‘Plugin causing critical issues’ is closed to new replies.

 * ![](https://ps.w.org/x-currency/assets/icon-256x256.gif?rev=3056906)
 * [X-Currency - The Ultimate WooCommerce currency switcher for a smoother shopping experience](https://wordpress.org/plugins/x-currency/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/x-currency/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/x-currency/)
 * [Active Topics](https://wordpress.org/support/plugin/x-currency/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/x-currency/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/x-currency/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [arturs4](https://wordpress.org/support/users/arturs4/)
 * Last activity: [2 years, 12 months ago](https://wordpress.org/support/topic/plugin-causing-critical-issues/#post-16734721)
 * Status: resolved