This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Reply To: Getting a frontend warning when "Search in buddypress activities" is turned on

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

#13286
Ernest MarcinkoErnest Marcinko
Keymaster

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?