/
Fixing Unyson 2.7.24 Session Error

Thanks for using Woffice! If you have any issue or question, feel free to open a ticket at https://woffice.io/support/

Fixing Unyson 2.7.24 Session Error

Within the Tools>Site Health section you will notice such an error caused by the Unyson plugin:

"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."



In order to fix it, you will need to add the following code within the functions.php file of your child theme:

if (!function_exists('_disable_fw_use_sessions')) { add_filter('fw_use_sessions','_disable_fw_use_sessions');

 function _disable_fw_use_sessions(){ 

return false;

 }

 }



Related content

Cannot install Unyson plugin
Cannot install Unyson plugin
More like this
Maintenance & Coming Soon mode
Maintenance & Coming Soon mode
More like this
This Webpage has a redirect loop
This Webpage has a redirect loop
More like this
Page builders
More like this
Fatal error while updating to WOffice 5
Fatal error while updating to WOffice 5
More like this
Sidebar options
Sidebar options
More like this

If you have any issue or question, feel free to open a ticket at https://woffice.io/support/