• Resolved danbp

    (@danbp)


    when you deactivate BuddyPress before Profile Tabs, you get a fatal error.

    Call to undefined function bp_get_member_type() in \buddypress-profile-tabs\public\class-bp-profile-tabs.php:389

    To solve this, add a check to the if at these line. Something like

    if ( class_exists('buddypress') && isset( $current_user_id ) && $current_user_id > 0 ).

    Now you can deactivate in whatever order, whithout running in this weird issue. ??

    https://www.ads-software.com/plugins/buddypress-profile-tabs/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jacob Schweitzer

    (@primetimejas)

    Thanks for the heads up on this one, I will correct it in the next version.

    Plugin Author Jacob Schweitzer

    (@primetimejas)

    Sorry for the delay, have been busy with a new job and some personal things. I have included this in version 1.6.1. Thank you for your contribution!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal error when BP is deactivated before BPT’ is closed to new replies.