• Resolved Rengal

    (@rengal)


    I’ve recently updated from version 5.7.6 to 6.0.3. I’m now having a problem whereby the selective plugin loading keeps becoming disabled. I’m not sure what triggers this as sometimes it happens after creating a new post and sometimes it happens after a certain amount of time elapses.

    The plugins I’ve set to be disabled seem to remain disabled (but I think this is because of the caching plugin) but when staff try to configure plugins for other posts, the table does not appear in the edit page until I go in to the plugin settings and turn selective plugin loading back on.

    Any ideas what could be causing this behaviour?

    EDIT: I’ve verified that the plugins only remain disabled when the caching plugin is active. I have cleared the cache but the issue remains.

    https://ww.wp.xz.cn/plugins/plugin-organizer/

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author Jeff Sterup

    (@foomagoo)

    Go the the Plugin Organizer settings page and click the Manage MU Plugin tab. Click the delete button. Then click the copy button. See if that fixes the problem.

    Thread Starter Rengal

    (@rengal)

    Hi Jeff. I’ve done this now. Will let you know within the next few hours if it fixes my issue.

    Thread Starter Rengal

    (@rengal)

    Unfortunately the problem remains. It has disabled itself 3 times since I deleted and re-copied the MU file.

    Is there a specific function that would be responsible for turning the option off? I usually just deactivate when I don’t want the plugins disabled and then reactivate when I do. Maybe I could disable the call as I don’t think this issue affects everyone seeing as I am the only one posting about it.

    Might be a conflict with another plugin?

    I am having the same problem with selective plugin loading on different pages) after the update to the latest version as well.

    I have tried the following without success
    – global enable of the plugin and selective switching off for the page
    – global disable of the plugin and selective switch on

    It always default back to “standard”.

    Its such a pity when it worked so well for me previously.

    Thread Starter Rengal

    (@rengal)

    I haven’t managed to fix this issue but I have come up with a temporary solution but it is far from ideal.

    I’ve added the following at the start of my template header file:

    update_option('PO_disable_plugins', 1);

    Obviously this adds an extra database call for each page load but I can’t see where the plugin code would be setting this option to off so it will have to do for now.

    Plugin Author Jeff Sterup

    (@foomagoo)

    It is being disabled in the PluginOrganizerMU.class.php file in your mu-plugins folder. It will usually do this because your MU plugin and regular plugin versions don’t match.

    Thread Starter Rengal

    (@rengal)

    I can confirm that the versions do match and I wasn’t getting the warning on the plugin list page I have seen in the past when the files didn’t match.

    I’m wondering though if it might be related to the server having an old cached copy of this file. I’ve just flushed all the file caches and taken out the line in my header file to keep the plugin enabled. I will report back the results.

    Plugin Author Jeff Sterup

    (@foomagoo)

    Has the settings remained on?

    I resolved my issue by using an older version of visual composer.

    Thread Starter Rengal

    (@rengal)

    Apologies, I thought I had updated this thread.

    Unfortunately, it did not stay on. I’ve had to add in the line to enable it again in the top of my header template file.

    Plugin Author Jeff Sterup

    (@foomagoo)

    I’m going to be releasing an update that will get rid of the version check that automatically turns off selective plugin loading. This may or may not fix your problem. I’ll let you know when that update is available. I’m working on it and another change that will take several days.

    Thread Starter Rengal

    (@rengal)

    Just to let you know, this issue is now resolved for me since version 6.0.4 🙂

    Thanks

    stumaxuk

    (@stumaxuk)

    Hi Rengal,

    Sorry to report that the issue appears to still be present, I just installed 6.0.4 about 15 minutes ago, I was scratching my head about how to use it for a while and then found this thread …

    Thanks,
    Stu

    Thread Starter Rengal

    (@rengal)

    Does your version keep turning itself off or is it just not working? If you are only starting out, please read the installation guide paying careful attention to the note on selective plugin loading.

    If your problem persists, please open a new support thread. This thread is marked as resolved so you may not get the help you need if you continue to post in it.

Viewing 14 replies - 1 through 14 (of 14 total)

The topic ‘Selective Plugin Loading Keeps Reverting to Off’ is closed to new replies.