@alenastryhina : This almost confirms that the groups plugin is filtering the_content filter which only applies on the question content. The fix here would be to remove the groups function on the_content filter on the quiz results.
Temporary Fix : Try adding this code in your child theme functions.php file, it will remove all the interactions on the_content filter which is rendering the question content:
add_action('template_redirect',function(){
//BuddyPress function to check if user is accessing here profile :
if(function_exists('bp_is_my_profile') && bp_is_my_profile()){
//remove the "groups" function restricting the user's access.
remove_all_filters('the_content');
}
});
Note : You might also need to force clear the quiz cached results, so try taking a new quiz after applying the above fix and checking its results.
————
@kento : Here’s what I suggest as a final fix:
add_action('template_redirect',function(){
//BuddyPress function to check if user is accessing here profile :
if(function_exists('bp_is_my_profile') && bp_is_my_profile()){
//remove the "groups" function restricting the user's access.
remove_filter('the_content','GROUPS CLASS/FUNCTION RESTRICTING THE ACCESS',PRIORITY);
}
});