How to fix "Entity/Field Definitions" issue?

cn flag

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

Jaypan avatar
de flag
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.
cn flag
@Jaypan Thank you I will try your solution

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.