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") ){
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?
basically, the error occurs when you turn-off Buddypress User Groups and with the workaround it should work either way.
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.
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
@biornt
sorry, missed that one! try adding this condition if ( class_exists("BP_Groups_Member") ) { .... }
@travishill
yeah, I get this too.