Support » Plugin: Plugin Organizer » Broken in WordPress 3.7

Viewing 15 replies - 16 through 30 (of 39 total)
  • Plugin Author Jeff Sterup


    So the problem is that the developers have changed the WP_query object so that the WP_query->get_posts function no longer uses a global variable for the user id and it now calls the get_current_user_id function which calls wp_get_current_user which only exists after pluggable.php has been included. If I include pluggable.php its going to make the functions in pluggable.php static and will no longer be able to be overridden. Anyone got a suggestion?

    Have you tried using get_user_by ?

    @jumpmobi, perfect, thanks !

    Great work too on the video 🙂

    Plugin Author Jeff Sterup


    @hristo SiteGround
    I can’t modify the wordpress core so I can’t change the function that is called from within the wp_query object. Its looking like I’m going to have to override the 3 user functions inside of pluggable.php which will cause plugin conflicts with any plugin that tries to do the same. For what plugin organizer is doing there is no need to use the user id so I wish the developers wouldn’t have done this.

    Definitely not clicking the upgrade button at all. Happened to one of my sites. @jeff, thank you for this plugin, I think’s it probably one of thee most important plugins i’ve found. I will message the WP developers personally.

    This works as a temporary work around on my sites.

    You need to add this line to the top of your wp-includes/CAPABILITIES.PHP file –

    require_once (‘pluggable.php’);

    so it looks like this –

    require_once ('pluggable.php');
     * WordPress Roles and Capabilities.

    Question: You only need the mu-plugins/PluginOrganizerMU.class.php to re-order loading right? So will the filters still work?

    Sounds like some bad news on the WP core system front.

    I’m sticking with 3.6.1 until further notice. Without plugin organizer google will get very bored half way down my pages and f off without indexing.

    I had to do some radical tweaking on the theme I use as well “X2” by Themekraft. X2 generates an inline css for each page based on I’m not sure what yet. I had to add code in to make it create and call external css files to make the code about 7 pages shorter.

    Anyone know of a decent theme that doesn’t generate humungous inline css?

    Plugin Author Jeff Sterup


    Adding the following code at line 11 of the PluginOrganizerMU.class.php file in your mu-plugins folder will get rid of the error but may cause other problems.

    require_once( ABSPATH . WPINC . '/pluggable.php' );

    The pluggable.php file has several functions in it that can be overridden by plugins. If you are using any plugins that need to override the functions within it those plugins will most likely fail because they will not be able to redefine the functions. I would suggest trying this if you are in need of an immediate fix. I will continue to work on a permanent fix but using pluggable.php in this way is not recommended.

    Kim Parsell


    WP Mom

    Modifying core files is not the correct thing to do.

    The plugin author needs to update the plugin. Please read the guidance posted by @otto42 here:

    You can check the following changeset for more details about the problem:

    The issue has been resolved in this nightly build:

    Tonight’s 3.7 nightly build is marked WordPress 3.7.1…

    WP 3.7.1 should drop over the weekend.

    The upgrade error might have be resolved but will the plugin still work with the changes to the WP_query object?

    Plugin Author Jeff Sterup


    This does not fix the problem with plugin organizer. There is still a call to get_current_user_id inside of the wp_query object.

    Plugin Author Jeff Sterup


    Sorry. Need my coffee before my eyes work. Yes this will fix plugin organizer.

    Awesome 🙂

Viewing 15 replies - 16 through 30 (of 39 total)
  • The topic ‘Broken in WordPress 3.7’ is closed to new replies.