Mismatched entity and/or field definitions

Created on 6 December 2021, almost 3 years ago
Updated 20 February 2024, 8 months ago

Problem/Motivation

Under Status report I am getting the following errors:

Mismatched entity and/or field definitions
The following changes were detected in the entity type and field definitions.
Custom block
The Translation source field needs to be updated.
The Translation outdated field needs to be updated.
The Translation author field needs to be updated.
The Translation created time field needs to be updated.
Content
The Translation source field needs to be updated.
The Translation outdated field needs to be updated.
Taxonomy term
The Translation source field needs to be updated.
The Translation outdated field needs to be updated.
The Translation author field needs to be updated.
The Translation created time field needs to be updated.
Paragraph
The Translation source field needs to be updated.
The Translation outdated field needs to be updated.
The Translation changed time field needs to be updated.

Any ideas what can be wrong with my setup or it's a module issue?
Reinstalling the content translation module makes the error disappear until the cron is executed - then it appears again.

I've checked the requiresFieldStorageSchemaChanges() method in SqlContentEntityStorageSchema
and the $current_schema variable contains these fields, whilst the $installed_schema is empty.

Steps to reproduce

* Use Drupal core 9.2.10
* Install the Content translation module

💬 Support request
Status

Fixed

Version

9.2

Component
Content translation 

Last updated about 19 hours ago

No maintainer
Created by

🇧🇬Bulgaria yivanov

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024