Update Drupal Debug Hints authored by Tom Wiesing's avatar Tom Wiesing
...@@ -90,7 +90,28 @@ drush php-eval "\Drupal::keyValue('system.schema')->delete('update_test_0');" ...@@ -90,7 +90,28 @@ drush php-eval "\Drupal::keyValue('system.schema')->delete('update_test_0');"
Alternatively, you can also install the module again, deactivate and uninstall it, and then remove the files. Alternatively, you can also install the module again, deactivate and uninstall it, and then remove the files.
# Fix Revision ID Field needs to be installed # Fix Mismatched entity and/or field definitions
1. Install https://www.drupal.org/project/devel_entity_updates:
```bash
composer require 'drupal/devel_entity_updates:^4.2'
```
NOTE: Version may have changed
2. Enable it
```
drush install devel_entity_updates
```
3. Run the entup command
```
drush entup
```
## Fix Revision ID Field needs to be installed
```php ```php
drush eval "\$edum = \\Drupal::entityDefinitionUpdateManager(); \$fs = \\Drupal::service('entity_field.manager')->getFieldStorageDefinitions('wisski_individual');\$edum->updateFieldableEntityType(\\Drupal::entityTypeManager()->getDefinition('wisski_individual'), \$fs);" drush eval "\$edum = \\Drupal::entityDefinitionUpdateManager(); \$fs = \\Drupal::service('entity_field.manager')->getFieldStorageDefinitions('wisski_individual');\$edum->updateFieldableEntityType(\\Drupal::entityTypeManager()->getDefinition('wisski_individual'), \$fs);"
``` ```
... ...
......