ENTITY/FIELD DEFINITIONS Mismatched entity and/or field definitions

Submitted by admin on Tue, 02/06/2018 - 13:51

Mismatched entity and/or field definitions

The following changes were detected in the entity type and field definitions.

Content

  • The node.field_flexslider_example_slidesh field needs to be uninstalled.
  • The node.field_flexslider_example_image field needs to be uninstalled.

How to solve:

  • https://www.drupal.org/files/flex_slider_delete_content_type-1840288-3.patch 
  • https://www.drupal.org/project/pathauto/issues/2661178#comment-11143633
  • https://www.drupal.org/node/2601762#comment-10835098 > This work

Open index.php

Put this code before '$response->send();'

try {
    \Drupal::entityDefinitionUpdateManager()->applyUpdates();
  }
  catch (EntityStorageException $e) {
    print_r($e);
  }

Refrech the website - the error should gone "

* After that - remove back the above code