Reply To: Problem with multisite?

Ernest Marcinko
Ernest Marcinko

Of course, why didn’t I think of that.

Actuall, maybe this will work. Open the plugins/ajax-search-pro/search.php file. That’s a controller type of file, it initiates the search actions.
Line 138 should be empty, put this thing there:

$search['data']['selected-blogs'] = array(get_current_blog_id());

Lines 139-170 do the hard work. The foreach parses through the $search[‘data’][‘selected-blogs’] variable (array of selected blog ids), which by default shouldn’t be empty. By pasting this code it puts the current blog id there, and that’s it. I’m 99% sure, that this will finally solve the issue.

Ernest Marcinko

If you like my products, don't forget to rate them on codecanyon :)