Skip to:

xprofile_install error in trunk

  • Anonymous

    It looks like some big changes happened to trunk over the weekend. After the update, I am unable to add new fields in the Profile setup page. I get the following error from bp-xprofile.php&group_id=1&mode=add_field:

    Fatal error: Cannot redeclare xprofile_install() (previously declared in /Path/to/Wordpress/MU/wp-plugins/buddypress/bp-xprofile.php:32) in /Path/to/Wordpress/MU/wp-plugins/buddypress/bp-xprofile.php on line 99

    You can see a picture of the admin page here:

    I’ve tried it on MU 2.7 and MU trunk, with the same error. I also tried it with all components on (same error) and only the profile component enabled (same error).


Viewing 6 replies - 1 through 6 (of 6 total)

  • Jeff Sayre


    I’ve tried it on MU 2.7 and MU trunk

    If you simply updated to the recent BP trunk without following this notice ( ), then you will have all sorts of issues.


    @Jeff Sayer: thanks for the feedback.

    I found that thread early on in the process and am running BP with the updated structure per the instructions, so that’s not the issue I’m having.

    Jeff Sayre



    It seems that you have your path to the BP plugins incorrectly setup. In the error message, it lists the path as /wp-plugins/buddypress/. It should be /plugins/buddypress/

    From R1303, BuddyPress plugins were moved out of the /wp-content/mu-plugins/ directory and into the /wp-content/plugins/buddypress/ directory.


    After no small amount of troubleshooting it turns out to be a symlinking issue. I symlinked the plugins dir from my version control tree to my local dev environment, and BP doesn’t seem to like that.

    Jeff Sayre


    Makes sense. I was wondering if you were trying to symlink.

    Paul Gibbs


    FWIW I symlink both WPMU and BP and haven’t had any issues yet.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘xprofile_install error in trunk’ is closed to new replies.
Skip to toolbar