January 11, 2016 at 11:00 am
#7285
Ernest Marcinko
Keymaster
Hi!
The issue is that there are keyword suggestions returned, but the filter is still executed. It’s my mistake, I accidentally changed this part in the recent version, and the “asp_results” filter executes when there are no result returned.
Try adding this line as the first line to your function:
[php]if ( !empty($results[‘nores’] ) return $results;[/php]
That should terminate execution if there are keyword suggestion available as result.