Deleting a user account calls _quiz_delete_users_results which uses entity_delete_multiple() function. This function has been removed from D9.
Behavior is a non-fatal error upon user account deletion
Replace entity_delete_multiple() with process shown here https://api.drupal.org/api/drupal/core%21includes%21entity.inc/function/...
$controller = \Drupal::entityTypeManager()->getStorage('quiz_result');
$entities = $controller->loadMultiple($result_ids);
$controller->delete($entities);
Fixed
6.0
Code - Quiz core
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.