WordPress.org

Ready to get started?Download WordPress

Forums

Plugins get deactivated (10 posts)

  1. freedomblogging
    Member
    Posted 3 years ago #

    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 ?

  2. Do you mean plugins that are network activated?

  3. freedomblogging
    Member
    Posted 3 years ago #

    well, no

    I mean the sitewide plugins that we activate manually.

  4. Two things come to mind.

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

  5. 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.

  6. freedomblogging
    Member
    Posted 3 years ago #

    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',

  7. 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?

  8. @freedomblogging are you still on WPMU?

  9. freedomblogging
    Member
    Posted 3 years ago #

    @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;}'

  10. The terminology changes in 3.0 and above is why we're being picky. :)

    your best bet is to upgrade.

Topic Closed

This topic has been closed to new replies.

About this Topic