Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Entity error #5

Open
dashiwa opened this issue Jan 8, 2019 · 1 comment
Open

Entity error #5

dashiwa opened this issue Jan 8, 2019 · 1 comment
Assignees
Labels
bug Something isn't working
Milestone

Comments

@dashiwa
Copy link
Collaborator

dashiwa commented Jan 8, 2019

 [error]  Drupal\Core\Config\ConfigImporterException: There were errors validating the config synchr
onization.
Entities exist of type <em class="placeholder">Shortcut link</em> and <em class="placeholder">Shortc
ut set</em> <em class="placeholder">Default</em>. These entities need to be deleted before importing
. in Drupal\Core\Config\ConfigImporter->validate() (line 737 of /var/www/web/core/lib/Drupal/Core/Co
nfig/ConfigImporter.php).

@dashiwa dashiwa added the bug Something isn't working label Jan 8, 2019
@dashiwa dashiwa self-assigned this Jan 8, 2019
@dashiwa
Copy link
Collaborator Author

dashiwa commented Jan 8, 2019

Solution -
drush ev '\Drupal::entityManager()->getStorage("shortcut_set")->load("default")->delete();'

@dashiwa dashiwa added this to the Refactoring milestone Jan 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant