Support » Plugin: BuddyPress for LearnDash » Uncaught error groups_is_user_member()

  • Hello,
    This is a fresh install and we just went live. However, the following error is recorded into the logs. Any idea?

    [26-Mar-2020 16:52:28 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function groups_is_user_member() in /home/XXXXXXXXXXXXXwp-content/plugins/buddypress-learndash/includes/bp-learndash-functions.php:701
    Stack trace:
    #0 /home/XXXXXXXXXXXXXwp-content/plugins/buddypress-learndash/includes/bp-learndash-loader.php(596): bp_learndash_user_course_access_update(16, 2158, false)
    #1 /home/XXXXXXXXXXXXXwp-includes/class-wp-hook.php(288): BuddyPress_LearnDash_Loader->user_update_course_access(16, 2158, NULL, false)
    #2 /home/XXXXXXXXXXXXXwp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(NULL, Array)
    #3 /home/XXXXXXXXXXXXXwp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #4 /home/XXXXXXXXXXXXXwp-content/plugins/sfwd-lms/includes/course/ld-course-functions.php(736): do_action('learndash_updat...', 16, 2158, NULL, false)
    #5 /home/XXXXXXXXXXXXXwp-content/plugins/sfwd-lms/includes/lib/paypal/ipn.php(293): ld_update_course_access(16, 2158)
    #6 /home/tw in /home/XXXXXXXXXXXXXwp-content/plugins/buddypress-learndash/includes/bp-learndash-functions.php on line 701

    Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support BuddyBoss Support

    (@bbwpsupport)

    Hi @designboxcom,

    Thank you for reaching us.

    It seems you disabled the buddypress group component.
    Please enable the group component and then check. It should resolve the issue.

    Thread Starter designboxcom

    (@designboxcom)

    I don’t want to be rude but your answer after 1 week of communication through Facebook and other Medium starts to be really boring. Read again the whole conversation and come back to me please with a suitable fix.
    We don’t need groups and don’t want to enable them !

    Plugin Support BuddyBoss Support

    (@bbwpsupport)

    Hi @designboxcom,

    To fix this issue, Please add “bp active = groups” check at line number 698 to the bp-learndash-functions.php file located at /plugins/buddypress-learndash/includes/ folder.
    Please refer to the screenshot.
    https://prnt.sc/rvv1k9

    Thread Starter designboxcom

    (@designboxcom)

    Thank you very much. I will keep you updated if it fixed the error.
    Beside this, will I need to make this modification after every new update or will you integrate it in the next release of the plugin ?

    Plugin Support BuddyBoss Support

    (@bbwpsupport)

    Hi @designboxcom,

    You’re Welcome.
    We will integrate this fix in our next release of the plugin.

    Charles

    (@charlesrodmell)

    Looking forward to this ability to turn off groups. I’m using forum and buddypress messages, so don’t need groups.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Uncaught error groups_is_user_member()’ is closed to new replies.