You're using a plugin that uses $entity->close() to remove entities, but forgot to check if the entity was instanceof Player. People will get 'closed' in that case.