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

suresh kumara created an issue. See original summary.

balsama’s picture

Hi. 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

FlutterStack’s picture

After 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."

phenaproxima’s picture

Project: Lightning » Lightning Workflow
Version: 8.x-2.26 » 8.x-2.x-dev
Component: Workflow » Code
adamschan’s picture

Facing the exact same problem. I can uninstall WBM but this error will be generated if i enable CM.

PunamShelke’s picture

Hi,

I am also getting the same error on uninstall workbench moderation and enable content moderation
Any solution which help to resolved this error

PunamShelke’s picture

Hi,

I am also getting the same error on uninstall workbench moderation and enable content moderation
Any solution which help to resolved this error.

Thanks