- 🇸🇰Slovakia coaston
Hi charginghawk
after I applied your patch i am getting following issue when trying to reach update.php
entity_clone module Update fix_corrupt_paragraph_parent_ids Failed: Drupal\Core\Utility\UpdateException: in entity_clone_post_update_fix_corrupt_paragraph_parent_ids() (line 100 of /modules/entity_clone/entity_clone.post_update.php).
-it is basically the last row of your patch
throw new UpdateException();
Any idea why ?
- 🇺🇸United States charginghawk
@coaston Not sure, there's supposed to be more information, per this bit:
$messenger->addError("{$parent->parent_type}.{$parent->parent_field_name} update failed, corrupt paragraphs: $numFailed")
I would check your logs, or try again after setting system.logging error_level to verbose.
- 🇮🇳India shreyal999
Getting the below error on running the update :
entity_clone module
Update fix_corrupt_paragraph_parent_idsFailed: Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'drupal9.paragraphs_library_item__paragraphs' doesn't exist: SELECT "parent"."entity_id" AS "host_id", "parent"."paragraphs_target_id" AS "target_id", "parent"."paragraphs_target_revision_id" AS "rev_id" FROM "paragraphs_library_item__paragraphs" "parent" INNER JOIN "paragraphs_item_field_data" "paragraph" ON parent.paragraphs_target_id = paragraph.id AND parent.paragraphs_target_revision_id = paragraph.revision_id AND parent.entity_id <> paragraph.parent_id; Array ( ) in entity_clone_post_update_fix_corrupt_paragraph_parent_ids() (line 54 of /app/web/modules/contrib/entity_clone/entity_clone.post_update.php).
- Status changed to Needs work
over 1 year ago 11:28am 31 May 2023