Title: [Plugin: Events Manager] Crashes Admin GUI
Last modified: August 20, 2016

---

# [Plugin: Events Manager] Crashes Admin GUI

 *  [alexmoomey](https://wordpress.org/support/users/alexmoomey/)
 * (@alexmoomey)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-events-manager-crashes-admin-gui/)
 * 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/](http://wordpress.org/extend/plugins/events-manager/)

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [agelonwl](https://wordpress.org/support/users/angelonwl/)
 * (@angelonwl)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-events-manager-crashes-admin-gui/#post-2645866)
 * 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") ){`
 *  Thread Starter [alexmoomey](https://wordpress.org/support/users/alexmoomey/)
 * (@alexmoomey)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-events-manager-crashes-admin-gui/#post-2645868)
 * 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?
 *  [agelonwl](https://wordpress.org/support/users/angelonwl/)
 * (@angelonwl)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-events-manager-crashes-admin-gui/#post-2645872)
 * basically, the error occurs when you turn-off Buddypress User Groups and with
   the workaround it should work either way.
 *  [biornt](https://wordpress.org/support/users/biornt/)
 * (@biornt)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-events-manager-crashes-admin-gui/#post-2646054)
 * 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.
 *  [travis.hill](https://wordpress.org/support/users/travishill/)
 * (@travishill)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-events-manager-crashes-admin-gui/#post-2646104)
 * 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`
 *  [agelonwl](https://wordpress.org/support/users/angelonwl/)
 * (@angelonwl)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-events-manager-crashes-admin-gui/#post-2646125)
 * [@biornt](https://wordpress.org/support/users/biornt/)
    sorry, missed that one!
   try adding this condition `if ( class_exists("BP_Groups_Member") ) { .... }`
 * [@travishill](https://wordpress.org/support/users/travishill/)
    yeah, I get this
   too.
 *  Plugin Author [Marcus (aka @msykes)](https://wordpress.org/support/users/netweblogic/)
 * (@netweblogic)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-events-manager-crashes-admin-gui/#post-2646155)
 * noted, will fix

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘[Plugin: Events Manager] Crashes Admin GUI’ is closed to new replies.

 * ![](https://ps.w.org/events-manager/assets/icon-256x256.png?rev=1039078)
 * [Events Manager - Calendar, Bookings, Tickets, and more!](https://wordpress.org/plugins/events-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/events-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/events-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/events-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-manager/reviews/)

 * 7 replies
 * 5 participants
 * Last reply from: [Marcus (aka @msykes)](https://wordpress.org/support/users/netweblogic/)
 * Last activity: [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-events-manager-crashes-admin-gui/#post-2646155)
 * Status: not resolved