• Resolved Bizstudio

    (@ajamm)


    Got an issue when upgrading, rolling back to 3.33.0 fixes it.

    Error message is as below.

    Warning: session_start(): open(/var/cpanel/php/sessions/ea3/sess_caa107f4e97772d211b42919839a090a, O_RDWR) failed: No such file or directory (2) in /home/site/public_html/wp-content/plugins/mailpoet/lib/Config/Session.php on line 10

    Warning: session_start(): Failed to read session data: files (path: /var/cpanel/php/sessions/ea3) in /home/site/public_html/wp-content/plugins/mailpoet/lib/Config/Session.php on line 10

Viewing 15 replies - 1 through 15 (of 20 total)
  • Hi there @ajamm,

    Can you see if you’re getting the same warnings with 3.34.4?

    Thanks!

    Thread Starter Bizstudio

    (@ajamm)

    Same issue sorry.
    Interestingly, updating the plugin – it activated itself (was disabled before I updated it). Strange behaviour.

    I have the exact same Warning. Thanks for your help

    Same problem here
    Had to disable mailpoet plugin in order to remove the warning that was appearing on top of each page of the site …

    Hi all,

    This is currently affecting a small number of installs and our developers are looking into it.

    It’s directly related to PHP sessions and how the sessions are handled server-side.

    We’ll let you know once we know more.

    Thanks!

    Any news about this issue ?
    Thanks.

    Thread Starter Bizstudio

    (@ajamm)

    My server guys tried changing the location of session files but that made no difference. I’m still rolled back to 3.33
    Mailpoet tech logged in to my site but did not resolve it (though to be fair, I think since the site is live they did not do much)

    Thread Starter Bizstudio

    (@ajamm)

    This has been fixed in my instance now.
    Server host support said, “Seems like the session path was set incorrectly. It should be /var/cpanel/php/sessions/ea-php72”

    Hi Guys

    I have the same problem on different sites.
    In the file /www/wp-content/plugins/mailpoet/lib/Config/Session.php there is no ending command for php “?>”
    After I added this, the problem seems no longer to be present.
    I currently cannot reproduce the message anymore.
    So I will check the logs for the next days if it is really solved.
    Regards,
    Peter

    Hello Peter, I don’t get it, I checked in other php files, and there is no ending command either ?
    where did you write this ?

    Hi Oaz
    It is in the file session.php as indicated in my solution.
    You are correct lots of files do not have the ending statement “?>”
    But that seems to cause a problem here.
    In lots of forums you see an indication that this error message comes if there are white spaces after the command “<?php”. So I thought that adding the ending command could resolve this.
    And that seems to be the case.

    Hi Oaz

    This is what I currently have in my session.php
    <?php
    namespace MailPoet\Config;
    if (!defined(‘ABSPATH’)) exit;
    class Session {
    function init() {

    if (!session_id()) {
    error_log(‘No session id!’);
    return session_start();
    }
    else {
    error_log(print_r($session_id));
    }
    }
    }
    ?>

    Ok thank you very much for these explanations Peter, I am trying it just now and will tell you if it works for me

    Well no, it does not work for me, i still have the same warning every 5 minutes.. ??

    Oh, I just upgraded to 3.35.0 and no more warning..

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘Warning: Session Start’ is closed to new replies.