Skip to:
Content
Pages
Categories
Search
Top
Bottom

Fatal error: Call to undefined function bp_groups_random_selection() !!!

  • @adrian7

    Member

    I have this message on my http://…./members/admin/groups/my-groups/ page anf all other sub-pages:
    `Fatal error: Call to undefined function bp_groups_random_selection() in …/wp-content/plugins/buddypress/bp-themes/cosmicbuddy/members/single/groups/group-loop.php on line 57`

    Does anybody knows a solution? Or a tip?

Viewing 4 replies - 1 through 4 (of 4 total)
  • @nuprn1

    Participant

    looks like a theme issue as that function is not part of the buddypress core

    @adrian7

    Member

    Is there a way I can replace the function with a valid one? Course one producing similar output.

    @djpaul

    Keymaster

    @nuprn1 is half right! bp_groups_random_selection() is from BuddyPress 1.0?, the function had been deprecated (https://svn.buddypress.org/branches/1.1/bp-groups/deprecated/bp-groups-deprecated.php) in 1.1 and is now removed from 1.2.

    Replace it with:
    bp_has_groups( ‘type=random’ )

    @adrian7

    Member

    I don’t know why, but the:
    bp_has_groups(“type=random”)

    returns always FALSE even if i have a couple of groups created on the site! I’m missing something… .

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Fatal error: Call to undefined function bp_groups_random_selection() !!!’ is closed to new replies.
Skip to toolbar