Strict warning: Drupal\Core\Plugin\PluginBase and Drupal\Core\StringTranslation\StringTranslationTrait define the same property ($stringTranslation) in the composition of Drupal\exclude_node_title\Plugin\DsField\Node\NodeTitle. This might be incompatible, to improve maintainability consider using accessor methods in traits instead. Class was composed in require() (line 86 of modules\contributed\exclude_node_title\src\Plugin\DsField\Node\NodeTitle.php).

StringTranslationTrait error on manage fields page.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

chaitanya17 created an issue. See original summary.

chaitanya17’s picture

FileSize
709 bytes

removed unused use statement.

chaitanya17’s picture

Status: Active » Needs review
andreasderijcke’s picture

Need to remove additional use statement of StringTranslationTrait.

MrDaleSmith’s picture

The patch in #4 doesn't apply through composer as all the paths are relative to Drupal, not the module: attached patch resolves the problem.

DamienMcKenna’s picture

This was mostly resolved in #2768419: Strict warning after updating display suite and core, all that's left is an unused 'use' statement.

Neslee Canil Pinto’s picture

Status: Needs review » Closed (works as designed)