The following notice pops up when I try to create a new user:
Notice: Undefined index: user_picture in Drupal\Core\Entity\EntityFormController->submitEntityLanguage() (line 438 of core/lib/Drupal/Core/Entity/EntityFormController.php).
When doing this, I'm logged in as user 1.
When I look into the code I see the following statement:
$previous_langcode = $form[$field_name]['#language'];
I guess the index "user_picture" isn't present in the array $form. Should we introduce an isset() to check if the index is present in the array?