PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

session_start() prevents loopback request

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

I have the following 3 following error raised in the Site Health Check.

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 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 10000 milliseconds with 0 bytes received (http_request_failed)

Loopback requests are used to run scheduled events, and are also used by the built-in editors for themes and plugins to verify code stability.

The loopback request to your site failed, this means features relying on them are not currently working as expected.
Error: cURL error 28: Operation timed out after 10000 milliseconds with 0 bytes received (http_request_failed)

 

These errors disappear when I deactivate the plugin "WOOCS - WooCommerce Currency Switcher" or if I comment"session_start() in the file plugins/woocommerce-currency-switcher/classes/storage.php

Is there any plan to correct this issue in the future release ?

Hello

Session uses for storage current user currency data, and that tests reaction of the system on 'session_start()', you can in tab Options set for 'Currency storage' transients and that notices will disappears

Hello,

I cannot use transients due to conflict with other plugins.

Is there any plan to address this issue in the future ? From my reading,"session_start()" shall not be used as such, hence explain why Wordpress Site Health Check raised it too.

Cheers,

 

 

Hello

I cannot use transients due to conflict with other plugins. -  which plugin?

We will investigate this.