ermm…I can see the query was correctly sent but nothing returned.
It is different with ‘nothing found’. Something wrong with the server side.
Did you tried ‘AND’ relationship?
Or you can remove of the filter to see if it is working.
I doubt that your server can’t handle the ‘OR’ queries, because it is a lot more resources consuming when using ‘OR’. It is best to avoid using it.
You can try this method to debug:
Add following codes to your theme’s functions.php.
add_filter('uwpqsf_result_tempt', 'customize_output', '', 4);
function customize_output($results , $arg, $id, $getdata ){
// The Query
$apiclass = new uwpqsfprocess();
$query = new WP_Query( $arg );
print_r($query);
ob_start(); $result = '';
// The Loop
if ( $query->have_posts() ) {
while ( $query->have_posts() ) {
$query->the_post();global $post;
echo '<li>'.get_permalink().'</li>';
}
echo $apiclass->ajax_pagination($arg['paged'],$query->max_num_pages, 4, $id, $getdata);
} else {
echo 'no post found';
}
/* Restore original Post Data */
wp_reset_postdata();
$results = ob_get_clean();
return $results;
}
This will show the query objects in the results div. It will give me more info on wrong with the searches.