Skip to content
GitLab
Explore
Sign in
This is an archived project. Repository and other project resources are read-only.
Changes
Page history
Update Drupal Debug Hints
authored
May 22, 2023
by
Kai Amann
Show whitespace changes
Inline
Side-by-side
Drupal-Debug-Hints.md
View page @
9598d0e3
...
@@ -51,6 +51,12 @@ To fix this, either re-install the module (using composer and friends) or run th
...
@@ -51,6 +51,12 @@ To fix this, either re-install the module (using composer and friends) or run th
drush
eval
"function disable(
\$
modname) {
\$
module_data = \Drupal::config('core.extension')->get('module'); unset(
\$
module_data[
\$
modname]); \Drupal::configFactory()->getEditable('core.extension')->set('module',
\$
module_data)->save(); }; disable('name-of-module'); "
drush
eval
"function disable(
\$
modname) {
\$
module_data = \Drupal::config('core.extension')->get('module'); unset(
\$
module_data[
\$
modname]); \Drupal::configFactory()->getEditable('core.extension')->set('module',
\$
module_data)->save(); }; disable('name-of-module'); "
```
```
You might also have to delete some config files the module comes with if you want to reinstall it:
```
drush config-delete module_name.settings_name
```
# Fix Revision ID Field needs to be installed
# 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);"
...
...