- Issue created by @gdana
- Status changed to Needs review
10 months ago 3:26pm 22 January 2024 - last update
10 months ago 63 pass - 🇮🇳India keshavv India
Created patch for Mismatched entity and/or field definitions.
Please review. - 🇮🇱Israel gdana
Hi, 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. - Status changed to Needs work
10 months ago 5:16am 24 January 2024 - 🇮🇳India keshavv India
Hello @gdana, Please try this https://www.drupal.org/project/address/issues/3412241#comment-15408612 🐛 Mismatched field definitions after address upgrade Needs review
- 🇮🇱Israel gdana
Hi @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)?
$entity_type_manager = \Drupal::entityTypeManager(); $entity_type_manager->clearCachedDefinitions(); $entity_type = $entity_type_manager->getDefinition('redirect'); \Drupal::entityDefinitionUpdateManager()->installEntityType($entity_type);
- Status changed to Closed: works as designed
7 months ago 12:17pm 10 April 2024 - 🇮🇱Israel gdana
Hi, 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.