Support » Fixing WordPress » Site Health Check

  • I have an alert on my Site Health page “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.”

    Have no idea where to start looking. Any advice would be appreciated

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi, kathtam, I would recommend deactivating your plugins and switching your theme.

    As part of the process of deactivating plugins and switching themes to determine what the cause of the issue is, please try using the “Health Check” plugin: https://wordpress.org/plugins/health-check/.

    In the troubleshooting tab, you can disable all plugins and have the theme changed while logged in; visitors will see the website as if the plugin(s) and/or theme wasn’t changed.

    After installing it, try changing the theme and initially disable all your plugins – and after, turning them on one by one – to determine whether that addresses the issue with the PHP sessions.

    Thread Starter kathtam

    (@kathtam)

    Thank you. Will try it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.