@kaab321
8 years, 5 months ago
This helped me A LOT! Solved my error. Got it from:
https://wordpress.org/support/topic/fatal-error-with-buddypress-26?replies=3#post-8563337
Open Quote:
If you’re like me and have buddypress groups turned off, this will produce the error shown. I fixed by adding this to
/wp-content/plugins/buddypress/bp-groups/classes/class-bp-group-extension.php
change:
$group_id = bp_get_current_group_id();
to:
$group_id = (bp_is_active('groups') ? bp_get_current_group_id() : '');
and change:
if ( empty( $group_id ) && bp_get_new_group_id() ) { $group_id = bp_get_new_group_id(); }
if(bp_is_active('groups')) { if ( empty( $group_id ) && bp_get_new_group_id() ) { $group_id = bp_get_new_group_id(); } }
IMO, they should have tested this before pushing out an update. Hopefully they figure things out.
Close quote
I don’t have BuddyPress Cover Photo plugin installed
I’m using a vibethemes theme.