Can't disable plugin

  • Hello,


    When I try to disable any plugin, I get an error.
    P.S.: I just upgraded to the latest master on Debian 7.2


    Quote

    Fatal error: Call to a member function register() on a non-object in /var/www/imscp/gui/library/iMSCP/Plugin/Manager.php on line 787


    Any idea?
    Thank you!


  • Hello ;


    Without further info, we can't help you. I-MSCP version ? Plugin names ?

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Hello ;


    Without further info, we can't help you. I-MSCP version ? Plugin names ?


    I'm sorry.


    1.1.0-rc4.7

    • Mailgraph
    • Monitorix



    Quote

    An unexpected error occurred:


    Plugin::Monitorix::_createMonitorixGraphics: readline() on closed filehandle IN at /usr/share/monitorix/cgi/monitorix.cgi line 192.
    Use of uninitialized value $config_path in scalar chomp at /usr/share/monitorix/cgi/monitorix.cgi line 193.
    Use of uninitialized value $config_path in -f at /usr/share/monitorix/cgi/monitorix.cgi line 196.
    FATAL: File 'monitorix.conf.path' was not found! at /usr/share/monitorix/cgi/monitorix.cgi line 210.

    Edited once, last by beny9512 ().

  • Re ;


    Do the following:


    1. Remove the backend plugin part:

    Code
    1. # rm /var/www/imscp/engine/Plugins/*


    2. Disable the plugins manually:

    Code
    1. # mysql -u root -p
    2. > use imscp;
    3. > UPDATE plugin SET plugin_status = 'disabled';


    3. Update the plugins files from /var/www/imscp/gui/plugins with those available here: https://github.com/i-MSCP/plugins


    4. Reactivate the plugins through the plugin interface


    Note: For the monitorix plugin, try to reinstall the monitorix package too (before reactivating the plugin).

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

    Edited once, last by Nuxwin ().


  • Thank you very much, Nuxwin! :rolleyes: