Mismatched entity and/or field definitions (Paragraph)

Created on 2 May 2024, about 2 months ago
Updated 16 May 2024, about 1 month ago

Was having the issue of an error showing on the Status reports page.

Mismatched entity and/or field definitions
The following changes were detected in the entity type and field definitions.
Paragraph

    The Paragraph entity type needs to be updated.

πŸ› Bug report
Status

Fixed

Component

Code

Created by

πŸ‡¦πŸ‡ΊAustralia hitesh.koli Melbourne

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

Comments & Activities

  • Issue created by @hitesh.koli
  • πŸ‡¦πŸ‡ΊAustralia hitesh.koli Melbourne

    This was causing below the update `8102 ` did not ran correctly and the version of the latest db updates as set to `8103 ` without changes correctly applied by `8102`. I did the following to fix this.

    After investigation it looks like the issue was with "viewsreference" module used in paragraph. some how update for `8102` did not went through.

    So in order to re-run the db updates I reset the version from 8103 to 8102.

    drush ev "\Drupal::service('update.update_hook_registry')->setInstalledVersion('viewsreference', 8102)". After running this I ran the drush updb again and the issue went away as the database changes were now in sync with codebase.

    I verified to see if the version is correctly set or not using drush ev "echo \Drupal::service('update.update_hook_registry')->getInstalledVersion('viewsreference')"

  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.69.0 2024