Skip to:
Content

BuddyPress.org

Opened 15 years ago

Closed 15 years ago

#2050 closed defect (bug) (fixed)

Group invites not sent/notified/logged in database

Reported by: leiascofield's profile leiascofield Owned by:
Milestone: 1.2.2 Priority: major
Severity: Version:
Component: Keywords: groups, notifications reporter-feedback
Cc:

Description

When I invite a user to a group, no invitation is sent and there is no notification in the invited user's account. Friend requests appear to be functioning properly.

I was having an issue with 1.2 where group invites would not go away (permanently stuck in admin bar). Not sure if that is related.

I rolled back to only BP being installed (no other plugins) with the default BP theme and still see this issue.

I checked the wp_bp_notifications table in my database, and there is no "group_invite" activity logged since our upgrade to 1.2.1.

I cleared any outstanding group invites from the wp_bp_notifications table in the database and successfully invited a user to a group in 1.2.1, however when I tried to invite them to a second group, I was unsuccessful.

Settings:
BP 1.2.1
WPMU 2.9.1
Default BP theme
No /plugins/ activated
Everything removed from /mu-plugins/ except bp-custom.php

Change History (6)

#1 follow-up: @leiascofield
15 years ago

I also downgraded to BP 1.2 and see this same issue.

#2 in reply to: ↑ 1 @cnorris23
15 years ago

  • Keywords reporter-feedback added

Replying to leiascofield:

I also downgraded to BP 1.2 and see this same issue.

Did you upgrade from a previous BP version, or was this a fresh install? Are you using the new BP default theme that comes with 1.2? What is in your bp-custom.php?

#3 @leiascofield
15 years ago

BP 1.2 was the original fresh install last week. Then, upgraded to 1.2.1 today by completely wiping the plugins/buddypress clean. Did same wipe and reupload of 1.2 to downgrade.

bp-custom.php contents:
<?php
define( 'BP_GROUPS_SLUG', 'network' );
define( 'BP_MEMBERS_SLUG', 'members' );
define( 'BP_BLOGS_SLUG', 'community' );
define ( 'BP_REGISTER_SLUG', 'join' );

define( 'BP_DEFAULT_COMPONENT', 'profile' );

define( 'BPLANG', 'clientname' );
if ( file_exists( BP_PLUGIN_DIR . '/bp-languages/' . BPLANG . '.mo' ) ) {

load_textdomain( 'buddypress', BP_PLUGIN_DIR . '/bp-languages/' . BPLANG . '.mo' );

}

?>

#4 follow-up: @leiascofield
15 years ago

Oops, had bp-custom in both plugins and mu-plugins directories. Have removed the extra in mu-plugins, but still have issue.

#5 in reply to: ↑ 4 @cnorris23
15 years ago

  • Milestone set to 1.2.2

Replying to leiascofield:

Oops, had bp-custom in both plugins and mu-plugins directories. Have removed the extra in mu-plugins, but still have issue.

Could you add define('WP_DEBUG', true); above the "stop editing..." line in your wp-config.php file, and then try inviting a user. From there look for errors with the notifications functions or database errors involving the bp_notifications table.

#6 @apeatling
15 years ago

  • Resolution set to fixed
  • Status changed from new to closed

This is due to the custom slug for groups. Please check this with the latest 1.2 branch as it should now work. The notifications were expecting "groups" but were instead seeing your custom slug.

Note: See TracTickets for help on using tickets.