BuddyDev

Search

[Resolved] Auto join groeps Auto List error

  • Participant
    Level: Initiated
    Posts: 5
    peter on #30438

    Just downloaded the new Auto Join Groups plugin.

    Get the following WordPress error when selecting Groups/Auto list

    Updating to Buddypress 6.0 did not solve the problem.

    WordPress versie 5.4.1
    Huidig thema: evolve Plus Child (versie 1.0.0)
    Huidige plugin: BuddyPress Auto Join Groups (versie 1.0.0)
    PHP versie 7.0.29

    Foutdetails
    ===========
    Een fout van het type E_ERROR werd veroorzaakt op regelnummer 380 van het bestand /home/vhosts/awesomesite.nl/httpdocs/wp-content/plugins/buddypress-auto-join-groups/src/core/class-post-type-helper.php. Foutmelding: Uncaught Error: Call to undefined function BuddyPress_Auto_Join_Groups\Core\bp_core_admin_groups_tabs() in /home/vhosts/awesomesite.nl/httpdocs/wp-content/plugins/buddypress-auto-join-groups/src/core/class-post-type-helper.php:380
    Stack trace:
    #0 /home/vhosts/awesomesite.nl/httpdocs/wp-includes/class-wp-hook.php(287): BuddyPress_Auto_Join_Groups\Core\Post_Type_Helper->bb_show_groups_tabs(”)
    #1 /home/vhosts/awesomesite.nl/httpdocs/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #2 /home/vhosts/awesomesite.nl/httpdocs/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #3 /home/vhosts/awesomesite.nl/httpdocs/wp-admin/admin-header.php(281): do_action(‘admin_notices’)
    #4 /home/vhosts/awesomesite.nl/httpdocs/wp-admin/edit.php(386): require_once(‘/home/vhosts/aw…’)
    #5 {main}
    thrown

  • Keymaster
    (BuddyDev Team)
    Posts: 24237
    Brajesh Singh on #30439

    Hi Peter,
    My apology for the inconvenience. I made a change for BuddyBoss platform and that is causing issue with BuddyPress. I am uploading a fix within 15 minutes and will be posting back.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 24237
    Brajesh Singh on #30440

    Hi Peter,
    Thank you for the patience.

    Please upgrade to 1.0.1. It is fixed.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 5
    peter on #30442

    Hi Brajesh,

    Thanks for fixing so quick.

    I have done some testing on my testsite and made a list without any condition set.

    When I click the Sync button the 5 users on my testsite are found and processed but no members show up in the group member list.

    Am I missing something?

    Thanks,

    Peter

  • Keymaster
    (BuddyDev Team)
    Posts: 24237
    Brajesh Singh on #30445

    Hi Peter,
    Thank you for the reply.

    There was a bug in the plugin when 1 of the members were already part of the group, It skipped all and removed that group from the list.

    Please do the following steps.

    1. Update the plugin again
    2. Add some groups to list(earlier group might have been removed from the list. This was caused by a check for deleted groups).
    3. Add some condition(there is no need to, but if you need to, you can)

    4. Update List by clicking on “Update”.

    5. Once you have updated the list/saved the list, Please click on sync and it will sync the users.

    The sync takes any condition/groups from last updated list(which you do by clicking on Update/Save/Publish).

    Please give it a try.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 5
    peter on #30454

    Hi Brajesh,

    Thanks for the quick fixing again.

    I installed 1.0.2 on my production site now and it works as expected.

    As a long time user of Auto Join I am really pleased that you recovered this plugin from the ditch.

    I will spread the word.

    Have a nice day

    Peter

  • Keymaster
    (BuddyDev Team)
    Posts: 24237
    Brajesh Singh on #30456

    Hi Peter,

    Thank you for confirming.

    To be honest, we did not use any code or direct inspiration from the existing plugin. We decided to do it to complement what we started offering for user friendship (BuddyPress Auto Friendship pro).

    I am glad you found it useful and if it works the way the old plugin did. I will be checking them over the weekend to just be sure 🙂

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 5
    peter on #30472

    Hi Brajesh,

    I found that the plugin works a bit different though as I expected.

    The plugin is not automaticly adding users to the group but groups to the user.

    To achieve the first you have to manually sync

    For me that is ok as I have a members only site with a rather fixed number of users.

    (btw I was also confused with a buddyboss plugin with the same name which does not work anymore)

    Thanks,
    Peter

  • Keymaster
    (BuddyDev Team)
    Posts: 24237
    Brajesh Singh on #30488

    Hi Peter,
    Thank you.

    I am sorry, Can you please help me understand this
    “automaticly adding users to the group but groups to the user”

    Question:- Do you want to add a group of users to all groups when a group is created?

    Also, the plugin does add users on account activation. Use use the the action ‘bp_core_activated_user’ on priority 5.

    The only reason it might not work is if you have some plugin redirecting on activation with a higher priority.

    Can you please check and let me know.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 5
    peter on #30499

    Hi Brajesh,

    The only thing I am looking for is when I make a new group that all existing users are joining this new group.
    I can accomplish this manually by adding this new group to the list and press the sync button. That is fine with me.

    Now when I add a new user in the backend the plugin is not automaticly joining this new user to the groups.
    This is what the other Auto Join Groups Plugin did.

    Q: is “account activation” the same as “adding a new user”?

    regards,
    peter

The topic ‘ [Resolved] Auto join groeps Auto List error’ is closed to new replies.

This topic is: resolved