Site Health Performance Issue: PHP Session Warning Linked to NinjaFirewall
-
Hi NinjaFirewall Team,
I encountered a critical warning on the Site Health page of my WordPress installation:
An active 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.
After consulting with my hosting support, they provided a list of plugins potentially using the session_start() function, which included NinjaFirewall.
Upon deactivating NinjaFirewall, the warning disappeared from the Site Health page. This suggests that NinjaFirewall might be the source of the session_start() function triggering the warning.
Could you confirm if there’s a setting in NinjaFirewall to disable session_start() or any related functions that may impact REST API or loopback requests? Any guidance on resolving this without deactivating the plugin would be greatly appreciated.
Thank you for your assistance!
Regards,
Green YangThe page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.