• Resolved blindtexth

    (@blindtexth)


    Hi,
    on one of my sites I get the warning:
    ‘ini_set(): A session is active. You cannot change the session module’s ini settings at this time’
    for
    ‘wp-content/plugins/wp-native-php-sessions/pantheon-sessions.php:156’

    I already created the file wp-content/mu-plugins/000-loader.php

    I am using WordPress 5.5.1 and also the Plugin ?Ninja Firewall (4.2.5)?.
    I read here, that this also happened with ?Wordfence?.

    It even appears with the plugin ?WordPress Native PHP Sessions? deactivated.
    When I delete the plugin I get a white screen. Out of sheer curiosity, how do I disable this plugin?

    And … when I am logged in, the back end gets painfully slow.

    Cheers, Carsten

    • This topic was modified 4 years, 6 months ago by blindtexth.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Daniel Bachhuber

    (@danielbachhuber)

    Hi @blindtexth:

    Out of sheer curiosity, how do I disable this plugin?

    If you delete the plugin, you’ll also need to delete the wp-content/mu-plugins/000-loader.php file. When the plugin is deleted, the 000-loader.php file is trying to load the main plugin loader file that doesn’t exist.

    on one of my sites I get the warning:
    ‘ini_set(): A session is active. You cannot change the session module’s ini settings at this time’

    Unfortunately, it seems the problem is only related to, but not caused by, WP Native PHP Sessions.

    The underlying problem is that a PHP session is starting very early, and then some other code is trying to change the session configuration after the session has started. Ninja Firewall seems it could be a candidate. Honestly though, it could be any code running on your site.

    Thread Starter blindtexth

    (@blindtexth)

    Hi @danielbachhuber,

    thank you for your answer.

    I am asking how to delete the plugin, because when I do so, the page site doesn’t show up anymore and I get a ?critical error? message.

    So I copy it back via FTP, the plugin is not enabled but the backend slows down and I get the old error messages.
    ini_set(): A session is active. You cannot change the session module’s ini settings at this time
    location: wp-content/plugins/wp-native-php-sessions/pantheon-sessions.php:156

    Regardless if I have the 000-loader.php file up or not.

    When I switch off Ninja Firewall the site acts normal.

    In mu-plugins I found a wpnps-loader.php with the same content like in 000-loader.php

    • This reply was modified 4 years, 6 months ago by blindtexth.
    • This reply was modified 4 years, 6 months ago by blindtexth.
    • This reply was modified 4 years, 6 months ago by blindtexth. Reason: typos
    Plugin Author Daniel Bachhuber

    (@danielbachhuber)

    In mu-plugins I found a wpnps-loader.php with the same content like in 000-loader.php

    It sounds like this was the cause. Let me know if you need any more help on this.

    Thread Starter blindtexth

    (@blindtexth)

    After deleting wpnps-loader.php I manges to deactivate wp-native-php-sessions.

    From this plugin I don’t have any issue anymore. Thank you for your support.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘another ini_set(): A session is active.’ is closed to new replies.