Problem

Error: Object of class Drupal\taxonomy_formatter\Plugin\Field\FieldFormatter\TaxonomyTermReferenceFormatter could not be converted to string en Drupal\taxonomy_formatter\Plugin\Field\FieldFormatter\TaxonomyTermReferenceFormatter->settingsSummary() (línea 112 de taxonomy_formatter/src/Plugin/Field/FieldFormatter/TaxonomyTermReferenceFormatter.php)

Steps to reproduce

Edit formatter settings and activate link to terms.

Proposed resolution

There is a little mistake in the code on line 112,

Now

      $summary[] = $this->$this->t('<br>The terms will link to the term pages');

Solution

      $summary[] = $this->t('<br>The terms will link to the term pages');

Comments

MaxMendez created an issue. See original summary.

maxmendez’s picture

There the patch.

maxmendez’s picture

Issue summary: View changes

  • geoanders committed 008e6fd on 8.x-1.x
    Issue #3319102 - Error when activate links to terms.
    
geoanders’s picture

Status: Active » Fixed

Good catch! Now fixed in dev branch.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.