-
Author
-
September 10, 2015 at 12:31 #76945
vcruz
ParticipantHello
My ajax search form is not working only when i try to search members.
Kleo version: 3.0.4
wordpress version: 4.2.4Thanks Carles.
September 10, 2015 at 12:34 #76950Laura
ModeratorHello, why do you mean is not working? What does it not search for?
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 10, 2015 at 13:25 #76970vcruz
Participanthi Laura
I ‘m trying to show users with ajax_searchform, like img5.png (original template).
But my website does not show it correctly img4.png.Thanks, Carles.
September 10, 2015 at 14:09 #76984Laura
ModeratorHello, could you share admin credentials? 🙂
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 10, 2015 at 18:07 #77056vcruz
Participantthe problem is in project/wp-content/plugins/buddypress/bp-core/classes/class-bp-user-query.php
function: prepare_user_ids_query()
code :
// ‘per_page’, ‘page’ – handles LIMIT
if ( !empty( $per_page ) && !empty( $page ) ) {
//$sql[‘limit’] = $wpdb->prepare( “LIMIT %d, %d”, intval( ( $page – 1 ) * $per_page ), intval( $per_page ) );
} else {
$sql[‘limit’] = ”;
}i comment $sql[‘limit’] because this line put a limit of query to ” LIMIT 0, -1 ” and return nothing…
¿ This a bug of KLEO ? ¿ Other users had the same problem ?
September 11, 2015 at 17:29 #77214Laura
ModeratorHello, if thats the issue, then is a bug of buddypress, as your path shows, maybe it could be a plugin creating a conflict with other plugins
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘General questions’ is closed to new topics and replies.