WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
Crashes Admin GUI (8 posts)

  1. alexmoomey
    Member
    Posted 2 years ago #

    it crashes my admin GUI.

    Fatal error: Class 'BP_Groups_Member' not found in /home/www/xxxxxxxxxxxxxxx.org/wp-content/plugins/events-manager/buddypress/bp-em-groups.php on line 85

    and line 85 is

    $group_ids = BP_Groups_Member::get_group_ids(get_current_user_id());

    http://wordpress.org/extend/plugins/events-manager/

  2. agelonwl
    Member
    Posted 2 years ago #

    at the moment, the workaround would be changing line 82 in events-manager/buddypress/bp-em-groups.php

    From
    if( is_user_logged_in() ){

    to
    if( is_user_logged_in() && class_exists("BP_Groups_Member") ){

  3. alexmoomey
    Member
    Posted 2 years ago #

    ok. thanks.

    I ended up doing the following:

    I deleted the events manager plugin (backing up a copy first). This allowed the admin gui to work. I then turned buddypress groups on. Then put events manage back in place and its all working now.. i just know better than to turn groups off now. :-/

    What would the above change you suggested do?

  4. agelonwl
    Member
    Posted 2 years ago #

    basically, the error occurs when you turn-off Buddypress User Groups and with the workaround it should work either way.

  5. biornt
    Member
    Posted 2 years ago #

    That fix does not really work. It will make that first error go away, but it creates another error when trying to edit or add a new event. it basically does not show the main section of the admin page - only the sidebars. here is the error it shows in the sidebar box with the header "Group Ownership":
    Fatal error: Call to undefined function groups_get_user_groups() in ..../wp-content/plugins/events-manager/templates/forms/event/group.php on line 4.

  6. travis.hill
    Member
    Posted 2 years ago #

    I can confirm this error.

    Update/Activate EM
    WP Admin 500 error
    Frontend error:

    Fatal error: Class 'BP_Groups_Member' not found in /home/site/public_html/xxxxxxxxx/core/wp-content/plugins/events-manager/buddypress/bp-em-groups.php on line 85

  7. agelonwl
    Member
    Posted 2 years ago #

    @biornt
    sorry, missed that one! try adding this condition if ( class_exists("BP_Groups_Member") ) { .... }

    @travishill
    yeah, I get this too.

  8. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    noted, will fix

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic