A PHP session was detected

Home Forums Jevelin Theme A PHP session was detected

Home Forums Jevelin Theme A PHP session was detected

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • artes105
    Participant

    Good morning,

    Could you help me with reference to:

    A 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.

    What would be the procedure to follow in this case?
    There is some code for implementation.

    Thank you so much

    Attachments:
    You must be logged in to view attached files.

    Shufflehound
    Moderator

    Hi there,

     

    Apologies for the delayed response.

     

    We reviewed our theme code and confirmed that we don’t use session_start() or session_write_close(). Therefore, the issue might be coming from another source or plugin. Please check your other plugins or custom code to identify where these session functions are being called. If you need further assistance, feel free to reach out.

     

    Best regards,

    Shufflehound team

    artes105
    Participant

    Thanks for your response, it was possible to disable the Plugins one by one on the website and when we got to Unyson the alert disappeared.

    In reference to the started PHP session that needs to be closed, it is in
    session_start()

    wp-content/plugins/unyson/framework/includes/hooks.php

    What should we do ?

    Shufflehound
    Moderator

    Hi there,

     

    The Unyson plugin is known to cause various issues. Therefore, we recommend migrating to the Redux framework if you don’t have any pages built with the Unyson page builder.

     

    It can be done under Jevelin (left sidebar) > Framework upgrade.

     

    Best regards,
    Shufflehound Team

    • This reply was modified 6 months, 2 weeks ago by Shufflehound.
    • This reply was modified 6 months, 2 weeks ago by Shufflehound.
Viewing 4 posts - 1 through 4 (of 4 total)