Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Fatal error activating BuddyPress


  • worldholder
    Participant

    @worldholder

    Hello,
    I installed the latest WordPress (ver. 4.0) and it seemed to work just fine.
    Then tried to install the latest BuddyPress 2.1.1 (automatically, via “Add new plugin”). BuddyPress downloaded fine and then I tried to activate it, but received the following:

    Fatal error: Cannot redeclare class BP_XProfile_Field_Type_Datebox in …/www/itfine.com/wp-content/plugins/buddypress/bp-xprofile/bp-xprofile-classes.php on line 0
    .

    Moreover, after this the site stops working at all. When I’m trying to access any page, I receive “Internal Server Error”. I reinstalled everything from scratch 2 times and always got the same results.
    Site URL: http://itfine.com

    I’m pretty new both to WordPress and Buddypress and I got stuck…
    What the problem could be?

    Thanks!

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

  • @mercime
    Participant

    @mercime

    @worldholder What comes to mind are theme and/or plugin conflict. So change to Twenty Fourteen theme and deactivate all plugins except BuddyPress and see if issues are resolved.


    Henry Wright
    Moderator

    @henrywright

    Hi @worldholder

    The fatal error indicates you’re declaring the BP_XProfile_Field_Type_Datebox class twice. For example, you’re declaring it once then on the second attempt, you get the fatal error. Your job is now to debug – to find out what may be causing it to be declared twice. As @mercime mentioned, a good place to start is to deactivate (and remove completely by deleting all of their files) all plugins and installing a theme such as Twenty Fourteen.


    Paul Wong-Gibbs
    Keymaster

    @djpaul

    That’s a core class introduced in 2.0; I’m surprised you’re seeing this, unless some other plugin has tried to customise the class or you’ve added something to a helper file manually.


    worldholder
    Participant

    @worldholder

    @mercime @henrywright @djpaul
    Thanks folks for the suggestions, but it doesn’t seem to be my case…
    I did all that with a freshly installed WordPress, with NO other active plugins and with the Twenty Fourteen theme (it was active by default).
    I have just tried once more and switched to another standard theme (Twenty Thirteen) before the BuddyPress activation, but I got the exactly same result…

    Is it possible that the problem is connected to my hosting configuration?


    worldholder
    Participant

    @worldholder

    Well, I got it up and running.
    I changed my PHP version from 5.5 to 5.4, and everything seems fine now.
    BuddyPress is not compatible with PHP 5.5 or what?..


    Paul Wong-Gibbs
    Keymaster

    @djpaul

    While I’m happy you found a solution for you 🙂 downgrading PHP isn’t something that someone should have to do. We’re still unclear as to the cause of the problem; I’d be surprised if it was only related to the PHP change (maybe changing the PHP version also cleared some cache or something — I don’t know).

    We run our unit tests on PHP 5.2, 5.3, 5.4, 5.5 — see https://travis-ci.org/buddypress/BuddyPress (I know they are currently broken, unrelated!).

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] Fatal error activating BuddyPress’ is closed to new replies.
Skip to toolbar