diff --git a/src/bp-members/classes/class-bp-members-admin.php b/src/bp-members/classes/class-bp-members-admin.php index e855768967..bef5cb89e0 100644 --- a/src/bp-members/classes/class-bp-members-admin.php +++ b/src/bp-members/classes/class-bp-members-admin.php @@ -1515,7 +1515,7 @@ public function process_user_suspend_update( $doaction = '' ) { if ( ! empty( $is_suspend ) && 'suspend' === $is_suspend ) { BP_Suspend_Member::suspend_user( $user_id ); - } elseif ( bp_moderation_is_user_suspended( $user_id ) ) { + } elseif ( bp_is_active( 'moderation' ) && bp_moderation_is_user_suspended( $user_id ) ) { BP_Suspend_Member::unsuspend_user( $user_id ); } }