• We have a wordpress multisite deployed in our environment,
    recently we are facing an issue with the sitewide plugins.
    frequently the sitewide plugins get deactivated by itself.

    looks like there is an event that clear the values for sitewide plugins in the table ““wp_sitemeta”

    has anyone encountered similar issue or have a clue why this is happening ?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Do you mean plugins that are network activated?

    Thread Starter freedomblogging

    (@freedomblogging)

    well, no

    I mean the sitewide plugins that we activate manually.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Two things come to mind.

    1) There’s a rogue plugin being a baistich.
    2) There’s a rogue super admin being an idiot.

    Network activate means the plugin is active across all sites in the network.

    Sitewide would mean on ONE site. Not all. And how are you activating them manually? If you’re going to the plugins menu and just clicking “activate” then it’s only active on that one site. Not all. So if you go to a new site and the plugin is NOT active… well, that’s how it works.

    Thread Starter freedomblogging

    (@freedomblogging)

    well, they are sitewide, we have 1 site only (site_id = 1), with multiple blogs.
    to elaborate more, we added a logging code in the function update_site_option();

    and looks like the wp-cron runs daily to change the value of ‘active_sitewide_plugins’ with empty array:

    UPDATE_SITE_OPTION:
    cache_key->’1′:
    name->’active_sitewide_plugins’,
    value->’a:0:{}’,
    oldvalue->’a:7:{old activated plugins}’
    site_id->’1′,

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    well, they are sitewide, we have 1 site only (site_id = 1), with multiple blogs.

    Terminology nitpicking here, ONLY because it’s confusing the heck out of me ??

    WordPress Multisite Install == The Network
    Site #1 == The Main site
    Site #2-n == Sub sites

    When we say ‘activate sitewide’ we mean ‘There is a link to Network Activate plugins available to Network Admins (aka Super Admins).’ Did you click THAT or just the regular ‘activate’ link?

    and looks like the wp-cron runs daily to change the value of ‘active_sitewide_plugins’ with empty array

    What plugins are you running?

    @freedomblogging are you still on WPMU?

    Thread Starter freedomblogging

    (@freedomblogging)

    @andrea_r, yes we are on WPMU

    @ipstenu,

    i activate them clicking on “Activate Akismet Site Wide” and similar links, there is nothing says network activate

    sorry about the terminology, here is the plugins we are using :

    oldvalue->’a:7:{s:19:”akismet/akismet.php”;i:1287615415;s:39:”platinum-seo-pack/platinum_seo_pack.php”;i:1287615421;s:24:”RSS Images/rssimages.php”;i:1287615425;s:31:”fb_tweet/la-click-and-share.php”;i:1287615427;s:22:”tantan-spam/plugin.php”;i:1287615429;s:49:”vipers-video-quicktags/vipers-video-quicktags.php”;i:1287615432;s:27:”wptouch-pro/wptouch-pro.php”;i:1287615474;}’

    The terminology changes in 3.0 and above is why we’re being picky. ??

    your best bet is to upgrade.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Plugins get deactivated’ is closed to new replies.