BuddyDev

Search

[Resolved] BuddyPress Limit Group membership Per User Issue

  • Participant
    Level: Initiated
    Posts: 7
    tonari on #7100

    Hello,
    i’m using your plugin since a long time and it’s great !
    But i noticed some errors in my log.
    I’m on WP v4.7and BP v2.7.4 .
    Here is what i can see :
    Deprecated: non-static method BPLimitGroupMembership::Get_limit() Should not be called statically in /home/www/wp-content/plugins/bplimitgroupmembership/bp-limit-group-membership-per-user.php on line 52

    and:

    Deprecated: non-static method BPLimitGroupMembership::Get_group_count() Should not be called statically in /home/www/wp-content/plugins/bplimitgroupmembership/bp-limit-group-membership-per-user.php on line 61

    Is it possible to fix this issue ?
    Or is it possible to edit some buddypress code to specify that a user can only join 1 group ? (without using your plugin ?)

    Thanks a lot.
    Regards.

  • Keymaster
    (BuddyDev Team)
    Posts: 24190
    Brajesh Singh on #7105

    Hi,
    Thank you for the post.

    The plugin needs an update. I will push one tonight and message back.

    Thank you
    Brajesh

  • Participant
    Level: Initiated
    Posts: 7
    tonari on #7107

    Hello Brajesh,
    Ok that’s very nice.
    Thanks.
    Regards.

  • Participant
    Level: Initiated
    Posts: 7
    tonari on #7123

    Hello,
    i changed this in the code and i no longer have the php error message:
    line 41: public static function get_limit(){
    line 44: public static function get_group_count( $user_id ){

    But the plugin is still making a conflict with my website.
    I’m on KLEO theme with visual composer v5.0 and when i use your plugin and enter (sign) into a group, the page is not automatically refreshed, i have to refresh the page to make the group button change to “enter the group” to “leave the group” and i can see this error in the console : ../admin-ajax.php 403 (Forbidden)
    If i deactivate the plugin, everything works just fine.
    I really need this plugin on my website, any idea what can cause the conflict ?

    Thanks.
    Regards.

  • Keymaster
    (BuddyDev Team)
    Posts: 24190
    Brajesh Singh on #7126

    Hi,
    I am sorry for the delay. I am putting up an update today. It got delayed yesterday as we had to prioritize for one of our premium plugins.

    I will be able to assist you better once we have the update available today.

    Thank you
    Brajesh

  • Participant
    Level: Initiated
    Posts: 7
    tonari on #7127

    Ok no problem i understand 🙂
    Thanks.

  • Keymaster
    (BuddyDev Team)
    Posts: 24190
    Brajesh Singh on #7133

    Hi,
    Please upgrade to 1.0.5
    https://buddydev.com/plugins/buddypress-limit-group-membership-per-user/

    It will fix most of the issues. Please do note that it still has an issue with invitation(It is not excluding users) and pending group membership requests( for users who have already exceeded the quota).

    We will be working on it again in next few days to address those issues.

    Thank you
    Brajesh

  • Participant
    Level: Initiated
    Posts: 7
    tonari on #7134

    Hi Brajesh,
    thanks a lot that fixed my issue ! 🙂
    Again, thanks for this very quick fix!
    Regards,
    Tonari

  • Keymaster
    (BuddyDev Team)
    Posts: 24190
    Brajesh Singh on #7135

    You are welcome.
    I am glad that I was able to help 🙂

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 7
    tonari on #7448

    Hello Brajesh,
    i’m sorry but it seems that the new buddypress 2.8 update breaks the plugin again… 🙁
    When i’m logged in and i go on the groups page, the buttons to join a group are no longer visible like if i’m not connected to my profil. And it seems to be the problem because i can’t see my profil button, but if i go on another page on the website (a page from wordpress, not buddy) i’m logged in.
    I hope you will be able to fix that, i really use your plugin.
    If you need more information about the problem i’m here.
    Thanks 🙂
    Regards.

The topic ‘ [Resolved] BuddyPress Limit Group membership Per User Issue’ is closed to new replies.

This topic is: resolved