Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#6 | exclude_node_title-n2839827-6.patch | 521 bytes | DamienMcKenna |
#5 | exclude_node_title-strict-warning-707484-5.patch | 688 bytes | MrDaleSmith |
#4 | exclude_node_title-strict-warning-707484-3.patch | 828 bytes | andreasderijcke |
#2 | patch-2839827.patch | 709 bytes | chaitanya17 |
12-29-2016 2-16-37 PM.jpg | 533.07 KB | chaitanya17 |
Comments
Comment #2
chaitanya17 CreditAttribution: chaitanya17 at Cybage Software Pvt Ltd. for Cybage Software Pvt Ltd. commentedremoved unused
use
statement.Comment #3
chaitanya17 CreditAttribution: chaitanya17 at Cybage Software Pvt Ltd. for Cybage Software Pvt Ltd. commentedComment #4
andreasderijckeNeed to remove additional use statement of StringTranslationTrait.
Comment #5
MrDaleSmith CreditAttribution: MrDaleSmith at CTI Digital commentedThe patch in #4 doesn't apply through composer as all the paths are relative to Drupal, not the module: attached patch resolves the problem.
Comment #6
DamienMcKennaThis was mostly resolved in #2768419: Strict warning after updating display suite and core, all that's left is an unused 'use' statement.
Comment #7
Neslee Canil Pinto