Skip to:
Content
Pages
Categories
Search
Top
Bottom

group hierarchy admin menu trouble

  • Avatar of TrueFlyingCow
    TrueFlyingCow
    Member

    @trueflyingcow

    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?

Viewing 9 replies - 1 through 9 (of 9 total)
  • 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?

    Avatar of ddarby14
    ddarby14
    Participant

    @ddarby14

    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.

    Avatar of ddarby14
    ddarby14
    Participant

    @ddarby14

    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.

    Avatar of Bowe
    Bowe
    Participant

    @bowromir

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

    Avatar of Vernon Fowler
    Vernon Fowler
    Participant

    @vernonfowler

    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 ?

    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.

    Avatar of Bowe
    Bowe
    Participant

    @bowromir

    @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

    Avatar of Vernon Fowler
    Vernon Fowler
    Participant

    @vernonfowler

    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?

    Avatar of mutualdesigns
    MutualDesigns
    Member

    @mutualdesigns

    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?

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

You must be logged in to reply to this topic.