Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In the Status report Page at Home>Administration>Reports
An error Entity/field definitions is displayed :
Mismatched entity and/or field definitions
The following changes were detected in the entity type and field definitions.
Search task
The Search task entity type needs to be installed.
I'm not sure it depends on the activated modules and language translation. Disable them don't solve the problem
Comments
Comment #2
temkin CreditAttribution: temkin as a volunteer commentedYou can run
drush entup
to resolve this warning. I believe there were some changes in latest release of Search API that require internal entity updates.drush entup
should take care of that. I'm not sure if it's possible to do by any other means except for drush.Comment #3
Shaun Holt CreditAttribution: Shaun Holt as a volunteer commentedPetiar's solution below works.
from: https://www.drupal.org/node/2601762
by: Petiar
Thanks a lot, cilefen, I have added this piece of code
try {
\Drupal::entityDefinitionUpdateManager()->applyUpdates();
}
catch (EntityStorageException $e) {
print_r($e);
}
before $response->send(); in my index.php file, reload the webpage and the problem is gone. Of course, then I removed that block from the index.php.