Home › Forums › Jevelin Theme › A PHP session was detected
Home › Forums › Jevelin Theme › A PHP session was detected
Good morning,
Could you help me with reference to:
A PHP session was detected
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.
What would be the procedure to follow in this case?
There is some code for implementation.
Thank you so much
Hi there,
Apologies for the delayed response.
We reviewed our theme code and confirmed that we don’t use session_start()
or session_write_close()
. Therefore, the issue might be coming from another source or plugin. Please check your other plugins or custom code to identify where these session functions are being called. If you need further assistance, feel free to reach out.
Best regards,
Shufflehound team
Thanks for your response, it was possible to disable the Plugins one by one on the website and when we got to Unyson the alert disappeared.
In reference to the started PHP session that needs to be closed, it is in
session_start()
wp-content/plugins/unyson/framework/includes/hooks.php
What should we do ?
Hi there,
The Unyson plugin is known to cause various issues. Therefore, we recommend migrating to the Redux framework if you don’t have any pages built with the Unyson page builder.
It can be done under Jevelin (left sidebar) > Framework upgrade.
Best regards,
Shufflehound Team