• Resolved Sol Aveiro

    (@soarveca)


    Hello!
    In site health, I get this error and it’s caused by this plugin ??
    Stock Notifier for WooCommerce

    “A PHP session has been created by the call to the session_start() function. This interferes with the REST API and return requests. The session should be closed by session_write_close() before making any HTTP requests”

    Besides that I already had to modify the css of the plugin :/, what can I do?

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Toukir Hossain

    (@toukirwpdev)

    Hi,

    Our developer has examined your issue and has identified the problem as having an error in your CSS. For your convenience, we are offering you some code that will fix your issue.

    .stock_notifier_tooltip_wrap 
    {
        background: transparent;
        border-radius: 6px;
        bottom: 100%;
        color: #fff;
        height: 10px;
        left: 50%;
        padding: 5px;
        position: absolute;
        text-align: center;
        transform: translateX(-50%);
        width: 254px;
        z-index: 2;
        bottom: 10%;
    }

    You can paste this code into the custom CSS option of our plugin, which will be fixed this issue.

    Thanks.

    Thread Starter Sol Aveiro

    (@soarveca)

    Hello!
    I think they have not understood the problem, IT IS NOT SOLVED!
    The problem IS NOT CSS, it is a php problem in your plugin

    “Active PHP session detected
    Performance
    A PHP session has been created by the call to the session_start() function. This interferes with the REST API and return requests. The session should be closed by session_write_close() before making any HTTP requests.”
    This is the problem and it leaves the site healthy.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP critical error session_start()’ is closed to new replies.