Skip to content

Unyson causing a critical site health issue #4408

@Steve-isev

Description

@Steve-isev

My clients wordpress site is reporting a critical site health issue related to the use of the 'session_start();' function in Unyson.

Our site health checker is giving the following report "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." looking through the code of the site the class-fw-session.php and hooks.php both start sessions but do not close them.

Can this issue be resolved? I have attached the full site health error below for reference.

Image

Hope to hear from you soon.

Kind Regards,
Stephen.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions