Site Health : An active PHP session was detected

[ad_1]

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.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer