I’ve noticed, while trying to remove various basic functions of buddypress, that disabling “Friends” module of Buddypress cause the plugin to crash with this error message:
Fatal error : Call to undefined function bp_get_friendship_requests() in /MY_INSTALLPATH/wp-content/plugins/buddypress-sliding-login-panel/update-content.php on line 110
I’ve fixed it with adding bp_is_active( ‘friends’ ) to the condition on line 110
->
if ( bp_is_active( ‘friends’ ) && bp_has_members( ‘include=’ . bp_get_friendship_requests() . ‘&per_page=1’ ) ) :