Support » Plugin: WordPress File Upload » Critical Issue: Active PHP session detected

  • Hey there,

    I am running a wordpress installation (version 5.5.1) with several plugins including WordPress File Upload (version 4.14.4). Today the site health check reported an active php session and related issues with the rest API and loopbacks. The php session error reads as follows:

    “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.”

    After searching for the session_start() string, I found that the WordPress File Upload plugin does use it. After deactivating the plugin the site health check ran without any issues. That’s why I think the issue is related to this plugin.

    Maybe you can have a look at the issue and probably do a fix on it.

    Thank you in advance and best wishes,

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author nickboss


    Hi, go to plugin’s Settings in Dashboard. What is the value of User State Handler option?



    Hey Nickolas,

    thanks for the quick reply. The value of the User State Handler is “session”.
    I switched it to “Cookies/DB (default)” and it seems that this solves the issue.

    Thanks for your help!

    Regards, Felix

    • This reply was modified 3 months, 1 week ago by juppi91.
    Plugin Author nickboss


    Ok good. Let me know if you have any problems.



Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.