Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Bug in code › Reply To: Bug in code
May 18, 2015 at 3:01 pm #4792
You might have actually discovered a bug. Luckily it’s just a Notice, which might not have any effect at all.
I will investigate this issue further, as I don’t know the cause yet.
Until then please try the following solution:
1. Open up the \wp-content\plugins\ajax-search-pro\includes\views\asp.shortcode.categories_terms.php file, where you should see this line:
$_invisible_terms = array_diff($_needed_terms, $style['selected-showterms']);
2. Change that line to:
$_invisible_terms = @array_diff($_needed_terms, $style['selected-showterms']);
That might help.Best,
If you like my products, don't forget to rate them on codecanyon :)