Title: fatal error when using groups plugin
Last modified: September 1, 2016

---

# fatal error when using groups plugin

 *  Resolved [JulieMarie](https://wordpress.org/support/users/juliemarie/)
 * (@juliemarie)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-caused-by-groups-plugin/)
 * I’m using the groups plugin by itthinx.com and after a user successfully deletes
   their account they are given a fatal error that makes it look like something 
   went wrong even though their account has been erased. This happens on my single
   site regardless of the landing url setting
 * `Fatal error: Uncaught Error: Call to a member function get_role_caps() on boolean
   in /home/protec63/public_html/wp-content/plugins/groups/lib/core/class-groups-
   user.php:389 Stack trace: #0 /home/protec63/public_html/wp-content/plugins/groups/
   lib/core/class-groups-user.php(308): Groups_User->init_cache(Array, Array) #1/
   home/protec63/public_html/wp-content/plugins/groups/lib/wp/class-groups-wordpress.
   php(81): Groups_User->can('view_query_moni...') #2 /home/protec63/public_html/
   wp-includes/plugin.php(235): Groups_WordPress::user_has_cap(Array, Array, Array)#
   3 /home/protec63/public_html/wp-includes/class-wp-user.php(741): apply_filters('
   user_has_cap', Array, Array, Array, Object(WP_User)) #4 /home/protec63/public_html/
   wp-includes/capabilities.php(436): WP_User->has_cap('view_query_moni...') #5 /
   home/protec63/public_html/wp-content/plugins/query-monitor/classes/Dispatcher.
   php(88): current_user_can('view_query_moni...') #6 /home/protec63/public_html/
   wp-content/plugins/query-monitor/dispatchers/Redirect.php(63): QM_Dispatcher-
   in /home/protec63/public_html/wp-content/plugins/groups/lib/core/class-groups-
   user.php on line 389`

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

 *  Plugin Author [cmc3215](https://wordpress.org/support/users/cmc3215/)
 * (@cmc3215)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-caused-by-groups-plugin/#post-7592481)
 * Hi, thanks for reporting your issue. Sorry about the late response, just saw 
   your question.
 * I installed the Groups plugin and assigned a new user to a couple groups and 
   tested deletion using the shortcode and profile page. I was unable to reproduce
   the error, or any error.
 * Since these errors are happening on PHP files belonging to Groups, I’d report
   it to them, they may be eager to fix this.
 * Sorry I wasn’t able to help 🙁
 *  [Kento](https://wordpress.org/support/users/proaktion/)
 * (@proaktion)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-caused-by-groups-plugin/#post-8925623)
 * Hi,
 * The latest Groups 2.0.3 release fixes this kind of errors, thanks for looking
   into the issue! I suppose you could mark this one as resolved 😉
 * Cheers
 *  [jagesso](https://wordpress.org/support/users/jagesso/)
 * (@jagesso)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-caused-by-groups-plugin/#post-9023636)
 * I have Groups 2.1.1 (current version) and am getting these errors. I found them
   as a result of investigating CPU spikes on my server. There are tons of them.
   Here are a couple of samples.
 * I don’t think this problem is fixed.
 * [Tue Apr 11 07:13:15.192347 2017] [fcgid:warn] [pid 495927:tid 139688912353024][
   client xxx.xx.xxx.xxx:49264] mod_fcgid: stderr: PHP Fatal error: Call to a member
   function get_role_caps() on boolean in /home/jagessojabw/public_html/xx.com/wp-
   content/plugins/groups/lib/core/class-groups-user.php on line 389
 * [Tue Apr 11 07:01:24.423286 2017] [fcgid:warn] [pid 495729:tid 139688775984896][
   client xxx.xx.xxx.xxx:64683] mod_fcgid: stderr: PHP Fatal error: Call to a member
   function get_role_caps() on boolean in /home/jagessojabw/public_html/xx.com/wp-
   content/plugins/groups/lib/core/class-groups-user.php on line 389

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

The topic ‘fatal error when using groups plugin’ is closed to new replies.

 * ![](https://ps.w.org/delete-me/assets/icon-128x128.png?rev=970332)
 * [Delete Me](https://wordpress.org/plugins/delete-me/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/delete-me/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/delete-me/)
 * [Active Topics](https://wordpress.org/support/plugin/delete-me/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/delete-me/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/delete-me/reviews/)

 * 3 replies
 * 4 participants
 * Last reply from: [jagesso](https://wordpress.org/support/users/jagesso/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-caused-by-groups-plugin/#post-9023636)
 * Status: resolved