Critical Error: An active PHP session was detected
-
This error specifies that 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 resolve this, the wpl.php file under the services folder inside the libraries folder on line
27if($session_start and !session_id() and !headers_sent()) session_start();
should be changed to
if($session_start and !session_id() and !headers_sent()) session_start(['read_and_close' => true,]);
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Critical Error: An active PHP session was detected’ is closed to new replies.