Title: Fatal Error on Login &#8211; using Groups Plugin
Last modified: November 8, 2023

---

# Fatal Error on Login – using Groups Plugin

 *  Resolved [zenacomp](https://wordpress.org/support/users/zenacomp/)
 * (@zenacomp)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-on-login-using-groups-plugin/)
 * As of 11/7/2023, our client is getting a fatal error logging into their website–
   wordpress admin and customer front end log in. We have the groups plugin installed
   and did update it to the latest version.
 * However, when we login we get this:
 * **Fatal error**: Uncaught Error: Call to undefined function wp_get_current_user()
   in D:\inetpub\wwwroot\wordpress_OXUS\wp-includes\capabilities.php:878 Stack trace:#
   0 D:\inetpub\wwwroot\wordpress_OXUS\wp-content\plugins\groups\lib\access\class-
   groups-post-access.php(233): current_user_can() #1 D:\inetpub\wwwroot\wordpress_OXUS\
   wp-includes\class-wp-hook.php(324): Groups_Post_Access::posts_where() #2 D:\inetpub\
   wwwroot\wordpress_OXUS\wp-includes\plugin.php(256): WP_Hook->apply_filters() #
   3 D:\inetpub\wwwroot\wordpress_OXUS\wp-includes\class-wp-query.php(2717): apply_filters_ref_array()#
   4 D:\inetpub\wwwroot\wordpress_OXUS\wp-includes\class-wp-query.php(3824): WP_Query-
   >get_posts() #5 D:\inetpub\wwwroot\wordpress_OXUS\wp-includes\post.php(2452):
   WP_Query->query() #6 D:\inetpub\wwwroot\wordpress_OXUS\wp-content\plugins\advanced-
   custom-fields\includes\class-acf-internal-post-type.php(401): get_posts() #7 
   D:\inetpub\wwwroot\wordpress_OXUS\wp-content\plugins\advanced-custom-fields\includes\
   class-acf-internal-post-type.php(359): ACF in **D:\inetpub\wwwroot\wordpress_OXUS\
   wp-includes\capabilities.php** on line **878**
 * Please help!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffatal-error-on-login-using-groups-plugin%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [gtsiokos](https://wordpress.org/support/users/gtsiokos/)
 * (@gtsiokos)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-on-login-using-groups-plugin/#post-17185942)
 * Hi there,
 * The error you get mentions an undefined WP Core function. However, as a core 
   function it is already defined so the error relates to an issue in your installation
   or most probably a conflict. Groups plugin is only calling this function when
   needed, this is why it appears in the trace.
 * I would recommend you to disable your plugins one-by-one until you reach the 
   conflicting one. Also, apart from your plugins it would also be useful to temporary
   switch to a different theme.
 * Kind regards,
 * George
 *  [gtsiokos](https://wordpress.org/support/users/gtsiokos/)
 * (@gtsiokos)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-on-login-using-groups-plugin/#post-17188691)
 * Following-up on this, if you like to share some more details on your setup, we
   could try and replicate it locally to check if the issue occurs on our side as
   well.
 * Which version of ACF do you use and what is the PHP version currently running
   on your hosting server?
 * Kind regards,
 * George
 *  Plugin Author [Kento](https://wordpress.org/support/users/proaktion/)
 * (@proaktion)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-on-login-using-groups-plugin/#post-17251481)
 * We couldn’t replicate the issue, feel free to follow up here or [there](https://www.itthinx.com/plugins/groups/comment-page-18/#comment-1131954)
   if it still persists.

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

The topic ‘Fatal Error on Login – using Groups Plugin’ is closed to new replies.

 * ![](https://ps.w.org/groups/assets/icon-256x256.png?rev=983146)
 * [Groups](https://wordpress.org/plugins/groups/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/groups/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/groups/)
 * [Active Topics](https://wordpress.org/support/plugin/groups/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/groups/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/groups/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [Kento](https://wordpress.org/support/users/proaktion/)
 * Last activity: [2 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-on-login-using-groups-plugin/#post-17251481)
 * Status: resolved