Active PHP session causes a critical issue shown on Site Health Status
-
Greetings,
HumanCaptcha causes a critical issue according to the Site Health Status page (WordPress Dashboard -> Tools -> Site Health). I have HumanCaptcha 3.1 installed in WordPress 5.5.3. See the status message below:
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 issue seems to be related to the PHP session detection added to the Site Health Status page in WordPress 5.5.0: https://core.trac.wordpress.org/changeset/47585 According to the plugin page, HumanCaptcha is tested only up to WordPress 5.4.4 which predates the session check.
To pinpoint the issue to HumanCaptcha plugin, I disabled all plugins, after which the PHP session message was not shown. Then I enabled plugins one at a time until the issue message returned. This happened when HumanCaptcha was the only enabled plugin.
I am not completely sure what kind of interference the issue causes but it seems worth fixing. Please let me know if you need any additional details.
The topic ‘Active PHP session causes a critical issue shown on Site Health Status’ is closed to new replies.