Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: New Sliding AJAX Login Panel Plugin for BuddyPress

@satanas147

Member

Hi,

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’ ) ) :

Skip to toolbar