Skip to:
Content
Pages
Categories
Search
Top
Bottom

PHP 7.0 compatibility


  • vinzen
    Participant

    @vinzen

    Hi, Can the latest BuddyPress version run on PHP7 configuration? Does BuddyPress support PHP7.0?
    Thanks.

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

  • danbp
    Participant

    @danbp

    @vinzen, wait a little or accept yes and no ;-). PHP 7.0.0 RC 1 is out since 2015/08/21…. RC version should not be used on production sites.

    WordPress and BP are both guaranted to work only on the latest stable release of anything needed to get them to work. But you can test at your own risk, RC’s and trunk version are avaible for that.

    php7 has a projected release date of November 2015. Next WP release is scheduled in december 2015. And BP around october…

    WP devs are already using php7 for unit test. More from here (WP) and here (BP).


    mln83
    Participant

    @mln83

    Any updates on PHP 7 compatibility (2.5.2)? 🙂

    Best regards,
    Michael


    justarandomuser
    Participant

    @justarandomuser

    I just tested my whole Website with PHP7.
    I have 19 PlugIns activated. 18 are working fine – except BuddyPress.

    I really don’t know why but even simple functions like “messages_get_unread_count()” get an Fatal Error: Uncaught Error: Call to undefined function messages_get_unread_count().

    bp_get_messages_slug and many more gives me the same error.

    Can anyone help?


    Henry Wright
    Moderator

    @henrywright

    Do you have the private messages component activated?


    justarandomuser
    Participant

    @justarandomuser

    Yes sir.
    Just found the problem:
    my import of my SQL file was a little bit failed. Everything was fine but BuddyPress was corrupted – I don’t know why! Fixed it!

    Now I can test PHP7. First opinion: it’s sensible faster on localhost.

    I’ll install PHP7 later on my Debian Server to test.


    mln83
    Participant

    @mln83

    Thanks for the feedback!

    I am now testing it on my developer site. Also noticed problems with BuddyPress after restoring via VaultPress to my developer site. I got this error:

    require(): Failed opening required 'Xd#�F+' (include_path='.:/usr/local/php70/pear') in /home/****/public_html/dev/wp-content/plugins/buddypress/bp-messages/bp-messages-classes.php on line 14

    and

    Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 549755814048 bytes) in /home/****/public_html/dev/wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 370

    So it seems that BuddyPress needs to be updated for PHP 7.0.6+

    Best regards,
    Michael


    sharmavishal
    Participant

    @sharmavishal

    subscribing to this


    AngryGerman
    Participant

    @angrygerman

    Has there been any update on this, i.e. is BuddyPress fully compatible with PHP 7 at this point?


    danbp
    Participant

    @danbp

    Should be working fine.

Viewing 10 replies - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.
Skip to toolbar