Title: PHP Error undefined function bp_group_is_admin()
Last modified: January 5, 2022

---

# PHP Error undefined function bp_group_is_admin()

 *  Resolved [Marcos Nobre](https://wordpress.org/support/users/onyx808/)
 * (@onyx808)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/php-error-undefined-function-bp_group_is_admin/)
 * I keep seeing the following error.
 * “Uncaught Error: Call to undefined function bp_group_is_admin()”
 * error] 21506#21506: *212417 FastCGI sent in stderr: “PHP message: PHP Fatal error:
   Uncaught Error: Call to undefined function bp_group_is_admin() in /var/www/wp-
   content/plugins/buddypress-media/app/main/controllers/media/RTMediaGalleryItemAction.
   php:81
    Stack trace: #0 /var/www/wp-includes/class-wp-hook.php(303): RTMediaGalleryItemAction-
   >action_buttons_before_media_thumbnail() #1 /var/www/wp-includes/class-wp-hook.
   php(327): WP_Hook->apply_filters() #2 /var/www/wp-includes/plugin.php(470): WP_Hook-
   >do_action() #3 /var/www/wp-content/plugins/buddypress-media/templates/media/
   media-gallery-item.php(34): do_action() #4 /var/www/wp-content/plugins/buddypress-
   media/templates/media/media-gallery.php(92): include(‘/var/www/…’) #5 /var/www/
   wp-content/plugins/buddypress-media/app/main/controllers/template/RTMediaTemplate.
   php(188): include(‘/var/www/…’)

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

 *  [Mehedi Hasan](https://wordpress.org/support/users/thebengalboy/)
 * (@thebengalboy)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/php-error-undefined-function-bp_group_is_admin/#post-15223622)
 * Hello [@onyx808](https://wordpress.org/support/users/onyx808/)
 * Please would you enable the BuddyPress Group from the BuddyPress Components? 
   You can navigate to wp-admin→ Settings→ BuddyPress → Components→ Enable the ‘
   User Groups’. Ref: [https://prnt.sc/267mvll](https://prnt.sc/267mvll)
 * Let us know if it solves the problem.
 * Thanks
 *  [Francesco](https://wordpress.org/support/users/minollo/)
 * (@minollo)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/php-error-undefined-function-bp_group_is_admin/#post-15227279)
 * Hi,
    I have the same issue, but for our project we don’t need groups to be activated…
   how to fix the issue?
 * Thanks
 *  [Mehedi Hasan](https://wordpress.org/support/users/thebengalboy/)
 * (@thebengalboy)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/php-error-undefined-function-bp_group_is_admin/#post-15227932)
 * Hi [@minollo](https://wordpress.org/support/users/minollo/)
 * We solved it and [this is the PR ](https://github.com/rtCamp/rtMedia/pull/1799)
   merged already. We’ll release a new version after some days, until then, you 
   can implement the patch.
 * Thanks
    -  This reply was modified 4 years, 5 months ago by [Mehedi Hasan](https://wordpress.org/support/users/thebengalboy/).

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

The topic ‘PHP Error undefined function bp_group_is_admin()’ is closed to new replies.

 * ![](https://ps.w.org/buddypress-media/assets/icon-256x256.png?rev=3219705)
 * [rtMedia for WordPress, BuddyPress and bbPress](https://wordpress.org/plugins/buddypress-media/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/buddypress-media/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/buddypress-media/)
 * [Active Topics](https://wordpress.org/support/plugin/buddypress-media/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/buddypress-media/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/buddypress-media/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [Mehedi Hasan](https://wordpress.org/support/users/thebengalboy/)
 * Last activity: [4 years, 5 months ago](https://wordpress.org/support/topic/php-error-undefined-function-bp_group_is_admin/#post-15227932)
 * Status: resolved