Ah, great! The snippet worked fine. I imagine this is due to the Email Templates plugin we’re using.
Thanks so much to both of you for the help! Really appreciate it.
Code from this BuddyPress support thread is working for me.
Replace the following line (260) in [your-site]/wp-content/plugins/invite-anyone/by-email/by-email.php:
groups_send_invites( $inviter_id, $group_id );
with:
groups_join_group( $group_id, $user_id );
I’m having a similar problem. Whenever I try to activate BP Group Documents, I get this error:
“Fatal error: Call to undefined function get_home_path() in /PATH-TO-MY-WP-INSTALL/wp-admin/includes/misc.php on line 128”
I then have to either remove or rename the plugin folder (which deactivates the plugin) to fix the problem. Any insights? I’d really like to get BP Group Documents up and running for our BP community. Thanks!