Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › no results are coming back on a basic search › Reply To: no results are coming back on a basic search
Hi,
Thanks for the details, I was able to find the cause.
There was a filter active in the functions.php file in your theme folder, but the actual function was disabled. Line 17 was active:
[php]add_filter(‘asp_results’, ‘asp_get_tax_term_children_results’, 10, 2);[/php]
However the asp_get_tax_term_children_results function did not exist, as it was commented. The filter still got executed by WordPress, returning NULL for the non-existend function, therefore emptying the results array.
I’ve disabled that line, now it will return results:
[php]//add_filter(‘asp_results’, ‘asp_get_tax_term_children_results’, 10, 2);[/php]
It should return results as normal now.