session_start() – session_write_close
-
Good day,
I encountered a problem while using popular plugins.
WordPress reports:
A PHP session was created by calling the session_start() function. For hitting REST API and loopback requests. The session should be closed using session_close() with an HTTP prewrite request.In app/Bootstrap.php I hit the beginning of the session:
if ( !session_id() ) session_start();
If I turn off the plugin the problem no longer appears. It also causes other complications for me, I’m not a programmer so I don’t know how to fix it, so I want to ask if it’s possible to fix it?
Thank you and have a nice day.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘session_start() – session_write_close’ is closed to new replies.