logo
Ask your WordPress questions! Pay money and get answers fast! (more info)

Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.

If the asker does not get an answer then they have 10 days to request a refund.

$30
Need Buddypress - multisite expert to change root blog id

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 -


Kathy Goss | 02/07/12 at 5:40pm Edit | Withdraw your refund request?
Tutorial: How to assign prize money


(1) Possible Answers Submitted...

Note: Kathy Goss requested a refund. They offered this explanation:

"I received the answer that solved my problem from an alternate source at wpmudev.org where I am a member. My Buddypress page settings had been lost . . . and now found."

If you disagree with this refund request, post your reasons.

If no one challenges a refund request, then they are automatically granted and proccessed after 48 hours. Admins of this site only review refund requests if someone challenges the request. If you are curious about how we handled previous refund requests, you may read over all refund requests and their challenges.

See a chronological view of answers?

Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.

  • avatar
    Last edited:
    02/07/12
    5:56pm
    Viruthagiri says:

    Please remove the space and try again

    define('BP_ROOT_BLOG', 2);

    • 02/07/12 6:13pm

      Viruthagiri says:

      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

    • 02/07/12 7:11pm

      Kathy Goss says:

      Thanks for responding.
      1. What space?
      2. I've tried the plugin deactivation method. Deactivated all and still had problem

    • 02/07/12 7:14pm

      Viruthagiri says:

      define( 'BP_ROOT_BLOG', 2);


      Don't you see the space between ( and '

This question has expired.





Current status of this question: Refund requested



Please log in to add additional discourse to this page.





Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.

If the asker does not get an answer then they have 10 days to request a refund.