- π¬π§United Kingdom alexpott πͺπΊπ
I've tried to reproduce the error and I can't. I installed standard, enabled inline_translation and content moderation and set up the article content type for both and it works as expected.
Module does not provide solution for content moderation.
TypeError: Argument 1 passed to Drupal\inline_translation\EntityOperations::addTranslatabilityClue() must be of the type array, null given, called in /var/www/drupal9/structura/web/modules/contrib/inline_translation/src/EntityOperations.php on line 321 in Drupal\inline_translation\EntityOperations->addTranslatabilityClue() (line 526 of /var/www/drupal9/structura/web/modules/contrib/inline_translation/src/EntityOperations.php)
When content moderation is enabled for a content type this wil appear as a checkbox beneath a content type on following page: /admin/config/regional/content-language
When you want to disable the checkbox and save it it automatically gets back enabled and when rendering de node add/edit page it throws above error as it cannot find the widget.
simple one if OK?
if ($field_name === "moderation_state"){
return
}
Postponed: needs info
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
I've tried to reproduce the error and I can't. I installed standard, enabled inline_translation and content moderation and set up the article content type for both and it works as expected.