Fatal Error with Buddypress 2.6
-
Hello, the plugin triggers a Fatal Error with the new 2.6 version of Buddypress :
Fatal error: Call to undefined function bp_get_current_group_id() in /home/.../public_html/.../wp-content/plugins/buddypress/bp-groups/classes/class-bp-group-extension.php on line 484I don’t know if it’s the right place and the perfect way, but before the next update, if it can help someone, I changed the first line of the file
group-cover.phplike this :if ( class_exists( 'BP_Group_Extension' ) ) :
by
if ( class_exists( 'BP_Group_Extension' ) && bp_is_active('groups') ) :See also : The original Buddypress forum topic.
The topic ‘Fatal Error with Buddypress 2.6’ is closed to new replies.