Mismatched entity and/or field definitions

Created on 1 September 2025, 5 days ago

Problem/Motivation

After updating to 8.x-1.12 and running update.php (which showed one redirect database update needed running), The Status report page is showing an error:

Errors found: Entity/field definitions

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

Redirect

  • The Redirect entity type needs to be updated.

The redirects on my site appear to be working. It's just this prominent error message that is the problem.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.12

Component

Code

Created by

🇹🇼Taiwan johnalbin Taipei, Taiwan

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

Comments & Activities

  • Issue created by @johnalbin
  • 🇹🇼Taiwan johnalbin Taipei, Taiwan
  • Hi,

    Same here, with a different message though (in French):

    Errors found: Entity/field definitions

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

    Redirect

    Le champ Activé nécessite d'être installé (The Enabled field requires installation).

    Any clue on where to search this field or how to fix the error?

    Thanks!

  • 🇷🇴Romania amateescu

    Have you previously patched the module with a change that included a redirect_update_8110() function? See #3543872-2: Latest version of Redirect module failed to run updates. for a longer explanation.

  • Yes, as a matter of fact, the module was previously patched with this patch to resolve an issue of case sensibility 📌 Case sensitivity Active . I removed the patch before upgrading though.

    So, I tried the solution from #4 and yes, it does work on my local environment, but not on production as I don't know how to pass the php-eval command as it doesn't show in github (and I'm no developer).
    Is there a way for you to create a patch for this? It would be most helful!

    Thanks!

  • 🇺🇸United States rraney

    This happened to me and some people noticed redirects not working anymore. I investigated and found they had an "Enable" checkbox which was not selected. Is the "Enable" box new? That's a separate issue, but related to the update. Opening another issue if it's not already reported.

  • 🇹🇼Taiwan johnalbin Taipei, Taiwan

    Have you previously patched the module with a change that included a redirect_update_8110() function?

    Thanks for replying so quickly!

    As I stated in the original post, I ran update.php and a redirect database update was run successfully.

    When I go to /admin/config/search/redirect all of my existing redirect rules show an "enabled" checkbox which is checked. And I tested some of my redirects and they worked fine.

    But the "mismatched" error on the status page appeared after doing the 1.12 update.

    To help debug this, here's more context:

    • Using PHP 8.4.11
    • Using MariaDB 10.6.22-MariaDB-cll-lve according to the Status Page
    • I've attached the redirect db table structure from my server's database
    • I've attached a copy of the redirect.settings.yml from my /config/sync/ folder

    I'll be happy to send anything else you might find useful.

Production build 0.71.5 2024