Fatal error when BP is deactivated before BPT
-
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:389To 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. ??
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Fatal error when BP is deactivated before BPT’ is closed to new replies.