• The above critical warning in the site health screen was found to be caused by the line 61 in masquerade.php:

    session_start();

    Changing this to:

    session_start( [
            'read_and_close' => true,
        ] );

    Resolved the error. I hope this helps others who find this problem.

    Regards.

  • The topic ‘Getting “An active PHP session was detected” critical warning’ is closed to new replies.