• When this plugin is activated the Site Health Status shows:
    “2 critical issues
    An active PHP session was detected
    The REST API encountered an error”
    Deactivate the plugin and those two issues go away.

    I found this by following the Site Health advice “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.”

    I searched my entire site for session_start() and checked the code where it is used. The only instance where it appears without the close() is in
    public_html/wp-content/plugins/custom-contact-forms/classes/class-ccf-form-handler.php

    I tried disabling each plugin and it was only by disabling this one I could make the problem go away.

    The page I need help with: [log in to see the link]

  • The topic ‘Site health errors “active PHP session” & “REST API”’ is closed to new replies.