Fatal Error with required field - Error: Cannot use object of type Drupal\Core\StringTranslation\TranslatableMarkup as array