Error: Field moderation_state is unknown

Created on 24 April 2023, over 1 year ago
Updated 18 September 2023, over 1 year ago

I'm using Entity Clone v2.0.0-beta3 with Drupal core 9.5.8. If I try to clone a node and I check the box that reads, "Save cloned Content as published", I get the following error:

InvalidArgumentException: Field moderation_state is unknown. in Drupal\Core\Entity\ContentEntityBase->getTranslatedField() (line 587 of /mnt/www/html/raritanvalstg/docroot/core/lib/Drupal/Core/Entity/ContentEntityBase.php).

If I clone without checking that box, no error occurs. Not sure if this is related to this issue or not: https://www.drupal.org/project/entity_clone/issues/3036068 Make it possible to configure the published state of cloned entities. Fixed

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇺🇸United States davedg629

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024