• I am using a number of WooCommerce plugins that require WooCommerce to be activate so that they can work.

    The first issue is that some of them auto load themselves before WooCommerce which is not normally an issue but on some of my admin pages this is causing a problem. What I have done is gone into the global order and forced WooCommerce to be the first plugin loaded and this all works fine until I have a page where I disable all WooCommerce related plugins and WooCommerce itself.

    The problem is that when the plugins get activated on another page your plugin is not loading them in the order specified in the order as specified in the global order page and is loading them in the normal order so what ends up happening is that the other plugins try to load before the WooCommerce plugin and then fail to load because WooCommerce isn’t alive yet.

    Would it be possible to fix this as it is totally screwing things up for me and I really want to use your great plugin.

    Thanks Nathan

    https://www.ads-software.com/plugins/plugin-organizer/

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

    (@foomagoo)

    Are the other plugins network activated? The load order is an array that is in the core wordpress options. This plugin just reorders that array. It doesn’t change that order on a page by page basis. It only changes the order when you go to the group and order page and reorder it. Network plugins will be loaded first.

    Thread Starter nathanwright

    (@nathanwright)

    I will explain some more.

    1) In Global Order have WooCommerce and another plugin that requires WC to be active.

    2) For the sake of example put the WC plugin below the other plugin that requires WC so that the other plugin will not activate because the WC plugin is not yet active. Now if you create a Page Filter where you disable the WC plugin and the other plugin that needs the WC plugin.

    3) Now navigate to the page (the one above) and everything looks great. Now navigate to another page and then go to the Plugins page and you will see that all the plugins that you have that require WC have become deactivated.

    4) Reactivate all of the WC plugins and then go to the Global Order page and you will see that the plugins are now all loading in the wrong order and not the order specified in step 2 above.

    The issue also occurs with plugins like Yoast and EventOn where an error occurs when they are reactivate and try to load a summary page of new features.

    Nathan

    Thread Starter nathanwright

    (@nathanwright)

    Sorry forgot to mention this is not a multi site just a single site install.

    Thread Starter nathanwright

    (@nathanwright)

    Doing some more digging it would appear that the same thing happens if you set all your global order and then install and activate the plugin “Duplicate Page” the global order gets reset. The weird thing is if you disable the “Duplicate Page” plugin then the global order returns to how you set it. I mention this as it may help you locate the problem.

    Plugin Author Jeff Sterup

    (@foomagoo)

    Are you running a caching plugin? That is the only way I can see this sort of thing happening. I’ve never seen it before.

    I have the same problem.
    Impossible to keep Global settings ?
    I’m on last version of WP and i disabled w3 cache.

    Thread Starter nathanwright

    (@nathanwright)

    Jeff, no i am not running any caching as the site is still in development. Agree with cloudbase64 the global setting seem to get forgotted.

    Managed to make it happen again today when i deleted a plugin and installed another, all the global order went back to default. Something is really not happy.

    Thread Starter nathanwright

    (@nathanwright)

    I can now reproduce the problem very effectively using the a3rev.com WP Email Template plugin but it also does the same thing with other plugins.

    If you set up your global order and save, check that the global order is saved by reloading the page. All is good.

    Now install the a3rev.com WP Email Template plugin but don’t activate it. Go to your global order and the plugin order is fine as when you saved them.

    Now go to plugins and activate the plugin, validate authorisation code, go back to the global order and you will see that the previously saved order has been reset to the default order and if you now try and change and save the order it doesn’t get saved.

    As I said at the outset this is happening with a number of plugins (but by no means all) and not specifically just with the WP Email Template plugin.

    Jeff, if you want to get access to login to my install so you can see and debug etc let me know and I will provide login details etc.

    Thread Starter nathanwright

    (@nathanwright)

    I should also add that if you then deactivate the WP Email Template plugin your previously saved global order gets reactivated and works again. This might help track dot the issue.

    Plugin Author Jeff Sterup

    (@foomagoo)

    I’ve tried duplicate page and WP Email Template. Neither of them resets the load order on my test site. If you want to give me access to a test site create a temporary user for me and send the login to foomagoo at gmail dot com. Put nathanwright in the subject line.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Problem with global order not being remembered’ is closed to new replies.