Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: BP Groupblog Error – Call to undefined function


HollowMac
Participant

@hollowmac

Quick solution:

Add the following to the top of groupblog.php:

/*** Make sure BuddyPress is loaded ********************************/

if ( !function_exists( ‘bp_core_install’ ) ) {

require_once( ABSPATH . ‘/wp-admin/includes/plugin.php’ );

if ( is_plugin_active( ‘buddypress/bp-loader.php’ ) )

require_once ( WP_PLUGIN_DIR . ‘/buddypress/bp-loader.php’ );

else {

return;

}

}

/*******************************************************************/

Works for me :) Thanks Mark ;)

Skip to toolbar