The MU forums have moved to WordPress.org

Problem with deactivating a plugin!? (8 posts)

  1. wisam-mo
    Member
    Posted 14 years ago #

    Hello there,
    I have added firestats plugin to my wordpress mu site...
    and I activated it sitewide...
    and when i try to deactivate it from the plugin management page...
    it says that the plugin was disactivated... but in fact it's still active...
    I think there is duplication in some record in db...
    more information:
    in db table 'wp_sitemeta':

    meta_key: deactivated_sitewide_plugins
    meta_value: a:2:{i:0;b:0;s:33:"firestats/firestats-wordpress.p...

    in db table 'wp_1_options' (for example):

    deactivated_sitewide_plugins  	a:2:{i:0;b:0;s:33:"firestats/firestats-wordpress.p...

    and another options for firestats...
    I don't know what is the problem.
    help me please!

  2. wisam-mo
    Member
    Posted 14 years ago #

    I forget to tell you that when I activated the plugin sitewide I had a problem with that plugin:

    sscanf() has been disabled for security reasons in

    may be it cases the main problem of duplication in db!?
    I am still waiting for your help and advises...

  3. SteveAtty
    Member
    Posted 14 years ago #

    well if sscanf is disabled on the server its not going to help

  4. wisam-mo
    Member
    Posted 14 years ago #

    note that sscanf not is the main problem...
    I solved that problem by writing a equivalent code for each sscanf statement...
    but I still can't disactivated it!?
    the main question how to reinstall the plugin if I can't disactivate it?

  5. andrea_r
    Moderator
    Posted 14 years ago #

    Remove it from the plugins folder. It will get deactivated.

  6. James Callaway
    Member
    Posted 14 years ago #

    I had the same problem with NextGen Gallery... deleted it from the plugins folder. When I re-loaded it.. back to the same problem.

  7. andrea_r
    Moderator
    Posted 14 years ago #

    Make sure you delete the plugin tables form the db too.

  8. brentes
    Member
    Posted 14 years ago #

    I had the same problem while writing my own plugins.

    I found removing the plugin names from the "wpmu_sitewide_plugins" array, stored in the sitemeta database table solved the issue.

    I can now activate and deactivate my plugins at will. :)

About this Topic

  • Started 14 years ago by wisam-mo
  • Latest reply from brentes