• The plugin Learndash-Buddypress gives the following error:

    [08-Feb-2018 15:34:08 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function groups_remove_member() in /home/site/public_html/members/wp-content/plugins/buddypress-learndash/includes/bp-learndash-functions.php:726
    Stack trace:
    #0 /home/gloriam3/public_html/members/wp-content/plugins/buddypress-learndash/includes/bp-learndash-loader.php(606): bp_learndash_user_course_access_update(2, '17', true)
    #1 /home/site/public_html/members/wp-includes/class-wp-hook.php(286): BuddyPress_LearnDash_Loader->user_update_course_access(2, '17', '4,6,8,9,15,16,1...', true)
    #2 /home/site/public_html/members/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
    #3 /home/site/public_html/members/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
    #4 /home/site/public_html/members/wp-content/plugins/sfwd-lms/includes/course/ld-course-functions.php(546): do_action('learndash_updat...', 2, '17', '4,6,8,9,15,16,1...', true)
    #5 /home/site/public_html/members/wp-content/plugins/memberium-ac/lib7/core.php(2889): ld_update_cours in /home/site/public_html/members/wp-content/plugins/buddypress-learndash/includes/bp-learndash-functions.php on line 726

    When I activate the plugin I can’t log in anymore. How can I fix that?

    I use Memberium, Learndash, AffiliateWP and Buddypress.
    All plugins and wordpress are up to date

Viewing 1 replies (of 1 total)
  • Thread Starter thedigitaldutchess

    (@thedigitaldutchess)

    For now, I did altered the file: /home/site/public_html/members/wp-content/plugins/buddypress-learndash/includes/bp-learndash-functions.php

    and ‘removed’ the specific code from the plugin, but that’s not really a solution.

    This is the code that gives the error:

    elseif ( true == $remove ) {
            // Remove student from the group
           groups_remove_member( $user_id, $group_attached );
        }
Viewing 1 replies (of 1 total)
  • The topic ‘Buddypress Learndash gives fatal error’ is closed to new replies.