Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Getting a frontend warning when "Search in buddypress activities" is turned on › Reply To: Getting a frontend warning when "Search in buddypress activities" is turned on
Hi!
Looks like that is a yet unknown bug there. Luckily it should not affect anything, it is only a warning message.
If you want to get rid of it, just change line 700 in that file from this:
[php]$ra[‘allbuddypresults’][$k] = array_merge($ra[‘allbuddypresults’][$k], $v);[/php]
to these 3 lines:
[php]if ( !isset($ra[‘allbuddypresults’][$k]) )
$ra[‘allbuddypresults’][$k] = array();
$ra[‘allbuddypresults’][$k] = array_merge($ra[‘allbuddypresults’][$k], $v);[/php]
That should do the trick 🙂
The second issue I’m not sure I understand correctly, but adding that code will very likely not help. Can I take a look at it somewhere?