• After an update to buddypress 7.2.1 I had to modify buddypress-groups-extras to fix a critical error that broke the site with this error.

    PHP Fatal error: Uncaught Error: Call to undefined function bp_is_active() in wp-content/plugins/buddypress-groups-extras/bpge.php:257

    I added lines 257 and 264 below.

    
    function bpge_pre_load() {
    256
    257 if( function_exists('bp_is_active')){
    258     if ( ! bp_is_active( 'groups' ) ) {
    259         // Houston, we have a problem.
    260         add_action( 'admin_init', 'bpge_deactivate' );
    261         add_action( 'admin_notices', 'bpge_deactivate_msg_bp' );
    262         return;
    263     }
    264 }
    
    • This topic was modified 3 years, 8 months ago by tmuka. Reason: removed domain name
Viewing 1 replies (of 1 total)
  • Thread Starter tmuka

    (@tmuka)

    hmm. still getting more fatal errors, so there’s something else at play here i’ll have to troubleshoot.

Viewing 1 replies (of 1 total)
  • The topic ‘fix for Call to undefined function bp_is_active()’ is closed to new replies.