Skip to:
Content
Pages
Categories
Search
Top
Bottom

Probleme using BP core functions

  • @mika89

    Participant

    Hello everyone !

    I’m currently developping a plugin on BP(2.0). The plugin has to remove inactive members from users friends list. When I’m trying to get the friends list of each user, I use friends_get_friend_count_for_user() function and I get this error:

    Fatal error: Call to undefined function friends_get_friend_count_for_user() in /***/***/***/***/wp-content/plugins/myPlugin/myPlugin.php on line 51

    What do I have to do to use BP core functions ?

    Thanks in advance

Viewing 26 replies (of 26 total)
  • @mika89

    Participant

    Hello @henrywright,

    I managed to get the friends by using SQL, and it’s working. Now I really think that the problem is that I can’t use BP functions whatever the one I use it returns empty results. And I need several of them to develop my plugin… Any idea of why I can’t get to use them ?

Viewing 26 replies (of 26 total)
  • The topic ‘Probleme using BP core functions’ is closed to new replies.
Skip to toolbar