• This is a duplicate topic for the same issue that another person had on here, but their topic was closed after some time.

    I’m getting a PHP Notice for this plugin:
    PHP Notice: session_start(): A session had already been started – ignoring in /wordpress/wp-content/plugins/simple-page-tester/SPTSessionHandler.php on line 26

    We’re currently running WordPress 5.4.2, multisite, PHP 7.4 on Apache 2.4.

    What gives? Please respond.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @mkormendy,

    Thanks for contacting us.

    I could raise this and document the issue but I’m afraid that we don’t have an ETA for a new version to check and fix what you are experiencing at the moment.

    You might want to try replacing the code on the SPTSessionHandler.php on line 115, please remove the !is_admin() && on this line of code.

    if (!is_admin() && !isset($sptSession)) {
    $sptSession = new SPTSessionHandler();
    }

    Please make sure that you have a backup of your site before you proceed!

    I hope this somehow helps.

    Thread Starter mkormendy

    (@mkormendy)

    That appears to have allowed the plugin to work, however I am still seeing the error in the logs.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘session_start(): A session had already started’ is closed to new replies.