I have multisite where main site was not intended to be community site and has a non-buddypress theme but had the template pack installed. I have a second site on network designed to be a community site for the network which has a buddypress compatible theme.
For awhile this setup was working but not ideal because the activity/profile links on community site brought users back to main site.
I was directed to buddypress codex where I should be able to define the the root blog in wp-config.php or bp-custom.php using
define( 'BP_ROOT_BLOG', 2); which I did and now I have error: Fatal error: Call to a member function get() on a non-object in /public_html/wp-includes/query.php on line 27
If I remove the definition, I have a broken link problem with all of the buddypress activity/profile links. And now the only way that it doesn't break is to activate the BuddyPress default theme on main site -
Please remove the space and try again
And one more thing, that fatal error might caused by your plugin conflict. So if my above answer doesn't work, try deactivating your plugin one by one. You will definitely solve it
Kathy Goss comments:
Thanks for responding.
1. What space?
2. I've tried the plugin deactivation method. Deactivated all and still had problem
define( 'BP_ROOT_BLOG', 2);
Don't you see the space between ( and '