BuddyPress not PHP 7.1 compatible – Broke my site
Hia, wanted to let you know that tonight my site went down and I lost all access to the WP admin due to BuddyPress. I was getting the below fatal error in the admin panel and the home page was getting a 500 error.
Fatal error: Uncaught Error:  operator not supported for strings in /home/mysite/public_html/wp-content/plugins/buddypress/bp-activity/classes/class-bp-activity-component.php:281 Stack trace: #0 /home/mysite/public_html/wp-includes/class-wp-hook.php(298): BP_Activity_Component->setup_admin_bar(”) #1 /home/mysite/public_html/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array) #2 /home/mysite/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #3 /home/mysite/public_html/wp-content/plugins/buddypress/bp-core/bp-core-dependency.php(143): do_action(‘bp_setup_admin_…’) #4 /home/mysite/public_html/wp-includes/class-wp-hook.php(298): bp_setup_admin_bar(Object(WP_Admin_Bar)) #5 /home/mysite/public_html/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array) #6 /home/mysite/public_html/wp-includes/plugin.php(515): WP_Hook->do_action(Array) #7 /home/mysite/public_html/wp-includes/admin-bar.php(83): do_action_ref_array(‘admin_bar_menu’, Array) #8 /home/mysite in /home/mysite/public_html/wp-content/plugins/buddypress/bp-activity/classes/class-bp-activity-component.php on line 281
SITEGROUND TECHNICAL SUPPORT REPORT:
I am glad to inform you I have resolved the issue. The plugin buddypress is not compatible to work with the PHP version 7.1 and caused the above mention error. In order to have this solved, I changed the PHP version to 5.6 by using the following .htaccess handler:
AddHandler application/x-httpd-php56 .php .php5 .php4 .php3
Is there a plan to make buddy press 7.1PHP compliant? I really don’t like the idea of having to roll back to 5.6 to accommodate. Any idea when BuddyPress will be updated?
Thanks so much! 🙂
- You must be logged in to reply to this topic.