[buddypress-trac] [BuddyPress] #4311: Fatal error: Call to undefined function bp_get_settings_slug()

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Fri Jun 29 14:07:08 UTC 2012


#4311: Fatal error: Call to undefined function bp_get_settings_slug()
--------------------------+-----------------------------
 Reporter:  Spitzohr      |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Core          |    Version:  1.5.5
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 We're using BuddyPress (1.5.5) together with the Invite Anyone Plugin
 (Version 1.0.8). If a user try to invite an user to a group, the following
 message appears:

 Fatal error: Call to undefined function bp_get_settings_slug() in
 /srv/www/blogs/rsconnect/wp-content/plugins/buddypress/bp-groups/bp-
 groups-notifications.php on line 223

 Here is the line 223:
 $settings_link = bp_core_get_user_domain( $invited_user_id ) .
 bp_get_settings_slug() . '/notifications/';

 Several functions in this file uses bg_get_settings_slug(), but they check
 if the function exists:

 $settings_slug = function_exists( 'bp_get_settings_slug' ) ?
 bp_get_settings_slug() : 'settings';

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4311>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list