• HELLO, thank you for the great plugin, i use it for 6 years and it is fantastic.

    after the new wordpress updates, the following critical error appear in SiteHealth:

    “”
    PHP sessions created by a session_start() function call may interfere with REST API and loopback requests. An active session should be closed by session_write_close() before making any HTTP requests.
    “”

    the error disappear after i disable the plugin.

Viewing 1 replies (of 1 total)
  • Thread Starter pal2020

    (@pal2020)

    hello again,
    you should edit wp-simple-anchors-links.php file line 29 :

    from:

    if ( !session_id() ){ session_start(); } // Start session just in case
    

    to

    if ( !session_id() ){ session_start(); session_write_close(); } // Start session just in case
    
    • This reply was modified 3 years, 10 months ago by pal2020.
    • This reply was modified 3 years, 10 months ago by pal2020.
Viewing 1 replies (of 1 total)
  • The topic ‘PHP sessions created by a session_start() ERROR’ is closed to new replies.