Fatal Error Crash – Website stopped working

Home Forums Legacy Support Support queries Update Issues Fatal Error Crash – Website stopped working

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #54903
    kaab321
    Participant
    Please, seeking help.   I’ve updated my buddypress plugin via the dashboard updates icon, and I’m receiving this error:   Fatal error: Call to undefined function bp_get_current_group_id() in / … /wp-content/plugins/buddypress/bp-groups/classes/class-bp-group-extension.php on line 484   Please help…
    #54929
    kaab321
    Participant
    Please help!
    #54930
    kaab321
    Participant
    This helped me A LOT! Solved my error. Got it from: https://wordpress.org/support/topic/fatal-error-with-buddypress-26?replies=3#post-8563337 Open Quote: If you’re like me and have buddypress groups turned off, this will produce the error shown. I fixed by adding this to /wp-content/plugins/buddypress/bp-groups/classes/class-bp-group-extension.php change: $group_id = bp_get_current_group_id(); to: $group_id = (bp_is_active('groups') ? bp_get_current_group_id() : ''); and change:
    
    if ( empty( $group_id ) && bp_get_new_group_id() ) {
    $group_id = bp_get_new_group_id();
    }
    to:
    if(bp_is_active('groups')) {
    if ( empty( $group_id ) && bp_get_new_group_id() ) {
    $group_id = bp_get_new_group_id();
    }
    }
    IMO, they should have tested this before pushing out an update. Hopefully they figure things out. Close quote
    #54954
    H.K. Latiyan
    Participant
    Thanks for sharing the information here... I tried to replicate the issue on my test setup and disabled the groups component of buddypress, but I didn't get any error on my website neither on front end nor in backend. I tested it with buddypress 2.6 and wplms and all its plugins 2.1 versions.
Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Fatal Error Crash – Website stopped working’ is closed to new replies.