0

In Drupal 9 I deleted an image field with the machine name field_poi_image and I have a media field with the same machine name. Since then there is an error message in the dashboard.

How can I correct this?

Entity/Field Definitions Definition of entities and/or fields do not match The following changes have been detected in entity type and field definitions. Contents The node.field_poi_image field needs to be updated.

enter image description here

5
  • You can use the Devel Entity Updates module, but make sure to back up any database before running the drush command, in case it works bad.
    – Jaypan
    Commented Jun 3, 2022 at 14:54
  • @Jaypan Thank you I will try your solution
    – zoulou66
    Commented Jun 3, 2022 at 14:55
  • @Jaypan I used the module in your comment, to fix the problem in my question. Iml worked, I uninstalled it. I modified another field and I have the same problem, it's really unbearable. It is written that this module should not be used to correct these problems. What's going on with the drupal core?
    – zoulou66
    Commented Jun 10, 2022 at 21:32
  • Well, this isn't an issue of Drupal core, this happens if/when modules don't manage their config well.
    – Jaypan
    Commented Jun 11, 2022 at 2:04
  • @Jaypan In my case it is node and image modules
    – zoulou66
    Commented Jun 11, 2022 at 13:15

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.