Mismatched entity and/or field definitions - Fixed

Submitted by drup@ltut0rl@l on Tue, 04/18/2017 - 17:29
Status report - mismatched entity error

I am getting this error while installing multipurpose corporate theme

Problem: Error

Entity/field definitionsMismatched entity and/or field definitionsThe following changes were detected in the entity type and field definitions.

File

  • The File type field needs to be installed.

Content

  • The URL alias field needs to be uninstalled.

Taxonomy term

  • The URL alias field needs to be uninstalled.

Solution :

we can use drush to fix this issue as below

:/var/www/html/corp_profile$ drush entity-updates
The following updates are pending:

file entity type :
  The File type field needs to be installed.
node entity type :
  The URL alias field needs to be uninstalled.
taxonomy_term entity type :
  The URL alias field needs to be uninstalled.
Do you wish to run all pending updates? (y/n): y
Cache rebuild complete.                                              [ok]
Finished performing updates.                             

You have viewed this node 1 times this session.