Plugin: BP Group Hierarchy

Join this plugin group to follow comments, support topics and reviews.

group hierarchy admin menu trouble (10 posts)

Started 9 months, 3 weeks ago by: TrueFlyingCow

  • Profile picture of TrueFlyingCow TrueFlyingCow said 9 months, 3 weeks ago:

    I get an error the following error when I attempt to go to a group’s admin menu –> “Group Hierarchy” submenu:

    Fatal error: Call to undefined method BP_Groups_Hierarchy::get() in [my directory]/wp/wp-content/plugins/bp-group-hierarchy/bp-group-hierarchy-classes.php on line 194

    Around that line is this:

    function get_active() {
    if(method_exists(parent,’get_active’)) {
    return parent::get_active();
    } else {
    return self::get(‘active’);
    }
    }

    The return self::get(‘active’); is the line that it doesn’t like. What/where is the function supposed to be/do?

  • Profile picture of David Dean David Dean said 9 months, 3 weeks ago:

    It’s a function inherited from the parent, the replacement for get_active() as of BP 1.3-bleeding. What version of BP are you running?

  • Profile picture of ddarby14 Dave Darby said 9 months, 3 weeks ago:

    I just enabled the plugin (v1.1.8) on WP3.2.1 with BP1.2.9 and I get the exact error above. Look forward to any ideas. Thanks.

  • Profile picture of ddarby14 Dave Darby said 9 months, 3 weeks ago:

    Should also note that when adding a new group, step 2 (Group Hierarchy) fails. The group ends up created anyway, but without a hierarchy. When editing the group, going to Admin|Group Hierarchy creates the error above.

  • Profile picture of Bowe Bowe said 9 months, 3 weeks ago:

    I’m getting the same error on BuddyPress 1.9.2..

  • Profile picture of Vernon Fowler Vernon Fowler said 9 months, 3 weeks ago:

    Same as Dave Darby, WP3.2.1 and BP1.2.9 – David Dean, you mentioned BP 1.3-bleeding; does that mean it works in 1.3-bleeding? Alternatively, is there an older version of the plugin available I can revert to and use in WP3.2.1 and BP1.2.9 ?

  • Profile picture of David Dean David Dean said 9 months, 3 weeks ago:

    Yes – 1.1.7 doesn’t support BP 1.3, but also doesn’t appear to have this issue. You may want to revert to that until I can figure out why this isn’t working for so many.

  • Profile picture of Bowe Bowe said 9 months, 3 weeks ago:

    @ddean When I download version 1.1.7 the plugin is not being picked up by WordPress.. not sure why, but the download seems to be incomplete and does not contain the index.php with the plugin setup file.. This is the download I’ve used:

    http://downloads.wordpress.org/plugin/bp-group-hierarchy.1.1.7.zip

  • Profile picture of Vernon Fowler Vernon Fowler said 9 months, 3 weeks ago:

    I tried the fresh 1.1.9 version of the plugin today and upon activation get the error as follows.

    Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in some_folders_deep/wp-content/plugins/bp-group-hierarchy/bp-group-hierarchy-classes.php on line 282

    So I have deactivated the plugin and hope a solution can be found. Anyone got a working 1.1.7 version lying around?

  • Profile picture of mutualdesigns mutualdesigns said 9 months, 2 weeks ago:

    I don’t know if this is helpful, but the error only occurs on third level groups. The top level groups work fine, the second level groups are fine, but even in a fresh install of buddypress and bp group hierarchy, the third level groups results in the error. Too much going on in the URL at that level?