WordPress.org

Forums

multisite with buddypress (4 posts)

  1. Kathy_Goss
    Member
    Posted 3 years ago #

    I first tried asking this on the Buddypress forum - but have not received any suggestions . . .

    I need to designate a subsite as root blog. I have found 2 answers in codex by either adding:
    define ( ‘BP_ROOT_BLOG’, 2);
    in wp-config.php or in bp-custom.php files. I’ve tried both methods and in both cases get the same error:

    Fatal error: Call to a member function get() on a non-object in /public_html/wp-includes/query.php on line 27

    I have WP 3.3.1 and BP 1.5.3.1 installed.

  2. You've got curly quotes in there...

    define ( 'BP_ROOT_BLOG', 2);

  3. Kathy_Goss
    Member
    Posted 3 years ago #

    Thank you so much for trying to help. I changed the quotes and I still get:
    Fatal error: Call to a member function get() on a non-object in ../public_html/wp-includes/query.php on line 27

  4. Oh .. HAH.

    define('BP_ROOT_BLOG', 2);

    Let's remove the spaces shall we?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.