Skip to:
Content
Pages
Categories
Search
Top
Bottom

$search_sql in bp-groups-classes.php


  • edelwater
    Participant

    @edelwater

    wp-content/plugins/buddypress/bp-groups/bp-groups-classes.php on line 344:

    there is $search_sql which is not defined

    ($paged_groups = $wpdb->get_results( “SELECT g.*, gm1.meta_value as total_member_count, gm2.meta_value as last_activity FROM {$bp->groups->table_name_groupmeta} gm1, {$bp->groups->table_name_groupmeta} gm2, {$bp->groups->table_name} g WHERE g.id = gm1.group_id AND g.id = gm2.group_id AND gm2.meta_key = ‘last_activity’ AND gm1.meta_key = ‘total_member_count’ {$hidden_sql} {$search_sql} ORDER BY CONVERT(gm1.meta_value, SIGNED) DESC {$pag_sql}” );)

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘$search_sql in bp-groups-classes.php’ is closed to new replies.
Skip to toolbar