Hi,
I've been getting the following error message since one of the recent updates, I think it started with an update to Drupal 9.5.10, and continues now with 10.1.6:
Mismatched entity and/or field definitions
The following changes were detected in the entity type and field definitions.
RedirectThe Redirect entity type needs to be installed.
I don't know how to find out the field or entity that causes this error. Any help would be most appreciated.
Thanks,
Dana
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3407151-2.patch | 596 bytes | keshavv |
Comments
Comment #2
keshavv commentedCreated patch for Mismatched entity and/or field definitions.
Please review.
Comment #3
gdana commentedHi, thank you. Unfortunately it didn't help, I applied the patch and then as required ran a small database update, but afterwards I still get the same message.
FYI I'm using Drupal 10.1.6 with PHP 8.2.
Comment #4
nisha_j commentedComment #5
keshavv commentedHello @gdana, Please try first code block in your custom module https://www.drupal.org/project/address/issues/3412241#comment-15408612
Comment #6
gdana commentedHi @keshavv, thanks, just to make sure I understand your suggestion in the comment you referred to, since we're talking about redirect, no need for the loop, just do it for redirect (and is 'redirect' the correct entity type id)?
Comment #7
gdana commentedHi, I found out that this module isn't the source of the issue I've described, it's a different module that also redirects and uses entities called redirect. I'm closing the issue, thanks for the help.