WPIntell

Source evidence

session_start() – session_write_close

My Favorites · support · 2024-02-19T15:12:00+00:00

complaintsentiment
mediumseverity
0.75relevance
1replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

6 / 31 rows with source links

19.4% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

25 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
deighteu unresolved
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. A little more searching and I found a fix session. if ( !session_id() ) {session_start();} on if ( !session_id() ) {session_start( [‘read_and_close’ => true,] );}

Comments

1 shown
deighteu 2024-02-21T11:27:00+00:00

A little more searching and I found a fix session. if ( !session_id() ) {session_start();} on if ( !session_id() ) {session_start( [‘read_and_close’ => true,] );}