Issue #2719553: Reverted the [Drupal core ] Fix for the issue of InvalidArgumentException: (Array) must be a string.