- Issue created by @tostinni
When going to TMGMT admin after enabling TMGMT Ignore Fields has been enabled, we noticed an error :
Got error 'PHP message: PHP Fatal error: Declaration of Drupal\\tmgmt_ignore_fields\\Plugin\\tmgmt\\Source\\IgnoreFieldsContentEntitySource::extractTranslatableData(Drupal\\Core\\Entity\\ContentEntityInterface $entity): array must be compatible with Drupal\\tmgmt_content\\Plugin\\tmgmt\\Source\\ContentEntitySource::extractTranslatableData(Drupal\\Core\\Entity\\ContentEntityInterface $entity, &$entityRegistry = []) in /opt/www/drupal/web/modules/contrib/tmgmt_ignore_fields/src/Plugin/tmgmt/Source/IgnoreFieldsContentEntitySource.php on line 61'
The weird part is that on our dev server with a similar PHP version we couldn't reproduce it so it might be linked to some custom PHP configuration.
Enable the module, and visit /admin/tmgmt/jobs
.
Update the signature of extractTranslatableData()
to match \Drupal\tmgmt_content\Plugin\tmgmt\Source\ContentEntitySource::extractTranslatableData()
MR to be submitted.
None
None
None
Active
1.0
Code