Site Health : An active PHP session was detected
-
Hello, I notice that two critical errors in the Site Health are shown when this plugin is active.
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.To fix this, I changed the following file:
seo-backlink-monitor/admin/class-seo-backlink-monitor-admin.php
FIND:
session_start();REPLACE:
session_start( [
‘read_and_close’ => true,
] );
Hope this helps someone with the same problem as me.
A plugin update to fix this is necessary.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Site Health : An active PHP session was detected’ is closed to new replies.