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.
I have update lightning distribution from 2.16 to 2.26.
I want to move from workbench moderation to content moderation. I have configured content moderation states and transitions.
After uninstalling workbench moderation, node add/node edit throwing error.
Uncaught PHP Exception InvalidArgumentException: "Property entity is unknown." at /Users/administrator/drupal84/docops2-drupal/docroot/core/lib/Drupal/Core/TypedData/TypedDataManager.php line 189
Comments
Comment #2
balsamaHi. If you successfully updated to 2.2.6, Lightning would have uninstalled Workbench Moderation and enabled Content Moderation for you. Did you follow the manual update steps? Specifically, the update steps for 2.2.4: https://github.com/acquia/lightning/releases/tag/2.2.4
Comment #3
FlutterStack CreditAttribution: FlutterStack commentedAfter uninstalling workbench moderation, enabled content moderation. I can see below errors.
1. Uncaught PHP Exception Drupal\\Component\\Plugin\\Exception\\PluginNotFoundException: "The "" entity type does not exist." at docroot/core/lib/Drupal/Core/Entity/EntityTypeManager.php line 133
2. Error: Call to undefined method Drupal\\content_moderation\\Plugin\\Field\\ModerationStateFieldItemList::referencedEntities() in docroot/core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EntityReferenceAutocompleteWidget.php.
3. Uncaught PHP Exception InvalidArgumentException: "Property entity is unknown."
Comment #4
phenaproximaComment #5
adamschan CreditAttribution: adamschan commentedFacing the exact same problem. I can uninstall WBM but this error will be generated if i enable CM.
Comment #6
PunamShelkeHi,
I am also getting the same error on uninstall workbench moderation and enable content moderation
Any solution which help to resolved this error
Comment #7
PunamShelkeHi,
I am also getting the same error on uninstall workbench moderation and enable content moderation
Any solution which help to resolved this error.
Thanks