The Taxonomy Term Depth module cannot be disabled

Created on 7 May 2020, over 4 years ago
Updated 10 May 2023, over 1 year ago

When I try to uninstall the module the following error is raised!

drush pmu taxonomy_term_depth -y
The following extensions will be uninstalled: taxonomy_term_depth
Do you really want to continue? (y/n): y
Drupal\Core\Extension\ModuleUninstallValidatorException: The following reasons prevent the modules[error]
from being uninstalled: There is data for the field depth_level on entity type Taxonomy term. <a
href="/en/admin/modules/uninstall/taxonomy_term_depth">Delete depth fields data.</a>. in
/var/www/html/web/core/lib/Drupal/Core/Extension/ModuleInstaller.php:381
Stack trace:
#0 /var/www/html/web/core/lib/Drupal/Core/ProxyClass/Extension/ModuleInstaller.php(91):
Drupal\Core\Extension\ModuleInstaller->uninstall(Array, true)
#1 /var/www/html/vendor/drush/drush/commands/core/drupal/environment.inc(227):
Drupal\Core\ProxyClass\Extension\ModuleInstaller->uninstall(Array)
#2 /var/www/html/vendor/drush/drush/commands/core/drupal/pm_8.inc(79):
drush_module_uninstall(Array)
#3 /var/www/html/vendor/drush/drush/commands/pm/pm.drush.inc(1250): _drush_pm_uninstall(Array)
#4 /var/www/html/vendor/drush/drush/includes/command.inc(422):
drush_pm_uninstall('taxonomy_term_d...')
#5 /var/www/html/vendor/drush/drush/includes/command.inc(231): _drush_invoke_hooks(Array, Array)
#6 /var/www/html/vendor/drush/drush/includes/command.inc(199): drush_command('taxonomy_term_d...')
#7 /var/www/html/vendor/drush/drush/lib/Drush/Boot/BaseBoot.php(67): drush_dispatch(Array)
#8 /var/www/html/vendor/drush/drush/includes/preflight.inc(66):
Drush\Boot\BaseBoot->bootstrap_and_dispatch()
#9 /var/www/html/vendor/drush/drush/drush.php(12): drush_main()
#10 {main}

🐛 Bug report
Status

Needs review

Version

2.0

Component

Code

Created by

🇧🇬Bulgaria vuil Bulgaria 🇧🇬 🇪🇺 🌍

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024