• Resolved JulieMarie

    (@juliemarie)


    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

    (@cmc3215)

    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

    (@proaktion)

    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

    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.