Error when add SSL Certificate to Control Panel

  • Hello,


    I'm using i-MSCP 1.2.17. Few hours ago, I've found that LetsEncrypt.org had provide free SSL certs, and I'm trying to add this certs to my i-MSCP Control Panel page.



    I use this command to start add certs:

    Code
    1. /var/www/imscp/engine/setup/imscp-setup -dr ssl

    After entered all require information, it's start to configure... When it's run about 94%, it show an error:


    Code
    1. Error while rebuilding customers files: [FATAL] iMSCP::Debug::__ANON__: Can't call method "disable" on unblessed reference at /var/www/imscp/gui/plugins/ServerDefaultPage/backend/ServerDefaultPage.pm line 191, <GEN607> line 1.


    I open this file and see this code, but I don't know how to fix this error:

    Code
    1. =item onAddIps()
    2. Process onAddIps tasks
    3. Return int 0 on success, other on failure
    4. =cut
    5. sub onAddIps {
    6. my $self = shift;
    7. $self->disable();
    8. $self->enable();
    9. 0;
    10. }


    Please help me fix this error! Thanks you very much!

  • Hey there, which version of the ServerDefaultPage plugin you're using? If not the newest one, please disable the plugin in the mysql database and rerun installer..