• When a user deletes their account using the delete me plugin their account is deleted however the user sees a fatal error rather than being appropriately redirected.
    https://protectivediet.com/my-account?plugin_delete_me=13847&plugin_delete_me_nonce=391378b893
    (The page loads on when refreshed but not on initial visit following account deletion)
    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
    I contacted the creator of the Delete Me plugin and they suggested I reach out to you.
    I thought I should bring it to your attention.
    How do I fix the issue?

  • The topic ‘Fatal error on account deletion’ is closed to new replies.