- Issue created by @vibrasphere
- Status changed to Closed: duplicate
10 months ago 1:05pm 26 January 2024 - 🇱🇹Lithuania vibrasphere
Duplicate
Solution https://www.drupal.org/project/total_control/issues/2225683 →
1. Disable module through Modules page or drush
2. Go to admin/modules/uninstall/ and try to uninstall Total Control
You get Fatal error The website encountered an unexpected error. Please try again later.
Dblog: Error: Call to undefined function views_get_all_views() in total_control_uninstall() (line 104 of/sites/all/modules/total_control/total_control.install).
Try to uninstall via drush:
drush pmu total_control
The following modules will be uninstalled: total_control
Do you really want to continue? (y/n): y
WD php: Error: Call to undefined function views_get_all_views() in total_control_uninstall() (line 104 of [error]
/htdocs/sites/all/modules/total_control/total_control.install).
Error: Call to undefined function views_get_all_views() in total_control_uninstall() (line 104 of /htdocs/sites/all/modules/total_control/total_control.install).
Drush command terminated abnormally due to an unrecoverable error.
Update: OK in the middle of writing this post I realized the top errors are caused with Views disabled.
But you still can't uninstall with Views enabled. Errors with Views enabled:
dblog: Error: Call to undefined function ctools_object_cache_clear() in total_control_uninstall() (line 116 of htdocs/sites/all/modules/total_control/total_control.install).
drush:
/htdocs # drush dis total_control -y
The following extensions will be disabled: total_control
Do you really want to continue? (y/n): y
total_control was disabled successfully. [ok]
/htdocs # drush pmu total_control -y
The following modules will be uninstalled: total_control
Do you really want to continue? (y/n): y
WD php: Error: Call to undefined function ctools_object_cache_clear() in total_control_uninstall() (line 116 of [error]
/htdocs/sites/all/modules/total_control/total_control.install).
Error: Call to undefined function ctools_object_cache_clear() in total_control_uninstall() (line 116 of /htdocs/sites/all/modules/total_control/total_control.install).
Drush command terminated abnormally due to an unrecoverable error.
Closed: duplicate
2.4
Code
Duplicate
Solution https://www.drupal.org/project/total_control/issues/2225683 →