You are correct, that's a problem. Fortunately it was only a typing mistake in the code. You only need to replace one file now to fix this. Go to wp-content/plugins/ajax-search-pro/includes/search_buddypress.class.php and open that file.
Replace the file contents with this: http://pastebin.com/raw.php?i=aT97MJvP
It should fix the issue immediately.Best,
If you like my products, don't forget to rate them on codecanyon :)