Problem/Motivation

We are using the latest 9.x version and facing the below mentioned error.

Steps to reproduce

Proposed resolution

Fixed via the patch file

Remaining tasks

User interface changes

API changes

Data model changes

InvalidArgumentException: $string ("") must be a string. in Drupal\Core\StringTranslation\TranslatableMarkup->__construct() (line 132 of core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php).
Drupal\date_range_formatter\Plugin\Field\FieldFormatter\DateRangeFormatterRangeFormatter->t() (Line: 98)
Drupal\date_range_formatter\Plugin\Field\FieldFormatter\DateRangeFormatterRangeFormatter->viewElements() (Line: 91)
Drupal\Core\Field\FormatterBase->view() (Line: 275)
Drupal\Core\Entity\Entity\EntityViewDisplay->buildMultiple() (Line: 233)
Drupal\Core\Entity\Entity\EntityViewDisplay->build() (Line: 307)
Drupal\field_formatter\Plugin\Field\FieldFormatter\FieldWrapperBase->getFieldOutput() (Line: 194)
Drupal\ui_patterns_field_formatters\Plugin\Field\FieldFormatter\PatternOneForAllFormatter->viewElements() (Line: 36)
Drupal\pam_fields\Plugin\Field\FieldFormatter\PamFieldsPatternOneForAllFormatter->viewElements() (Line: 91)

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

rahul_ created an issue. See original summary.

yusuf_khan’s picture

Status: Active » Needs review
gauravkr.mishra90@gmail.com’s picture

it worked for me

pameeela’s picture

Status: Needs review » Closed (duplicate)

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.