Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions about uninstalling modules.

0
votes
1answer
31 views

Manually removing database records of a module

I inherited a Drupal 7 site that appears to have a history. I'm receiving the following error when updating modules or clearing the cache: PDOException: SQLSTATE[42S02]: Base table or view not ...
0
votes
0answers
16 views

Missing DB table blocking uninstall of custom module [duplicate]

Simple problem PITA to fix. I created a module with a custom entity and some other stuff. But there was an error during installation and the DB table did not get created. Attempting to uninstall ...
0
votes
1answer
19 views

Find specific node to uninstall a module

I want to uninstall a module but I'm getting the following message. The "Name of Module" field type is used in the following field: node.field_feature_interest. How can I find this node so I can ...
0
votes
1answer
31 views

Drupal\Component\Plugin\Exception\PluginNotFoundException: The “glossify_taxonomy” plugin does not exist.

In Drupal 8 when we upload the module we will get this kind of issue very often. I have installed glossify and its submodule glossify_taxonomy and configured. we have created some content in ...
1
vote
1answer
17 views

I want to uninstall l10n_client which may be duplicated

I use composer. The L10n_client module could not be updated or occasionally not found. I feel that the names of L10n_client or l10n_client_ui are different. It is a similar atmosphere as below. https:/...
1
vote
1answer
23 views

hook_module_preuninstall doesn't run early enough

Uninstalling my module threw this error: [error] my_module: The My Field field type is used in the following field: my_module.my_field But, since my module defines both an entity and a field, both ...
0
votes
1answer
95 views

How do I uninstall RSS?

I would like to uninstall RSS completely from Drupal 8, not only hide it from pages, but also disable the core logic behind it. How do I achieve it?
0
votes
1answer
84 views

Remove orphaned module data after uninstall

I have installed the xmlsitemap module, which is in alpha state. The module has an incomplete uninstall routine. Right now I am getting this error at /admin/config: User warning: The following ...
0
votes
1answer
48 views

Can't get hook_uninstall to trigger

In mymodule.install i try to implement a hook_uninstall call, but it never triggers. What am I doing wrong? function hook_uninstall() { echo "uninstalling"; ...more stuff... }
1
vote
1answer
31 views

How can we uninstall a module directly from the database?

I am trying to find a way to uninstall a Drupal 8 module directly from database. How can I achieve this?
2
votes
1answer
89 views

Can't uninstall module because of checkbox field

I've a custom module that alters the MenuLinkContent entity by adding a field. My field is defined as follow. /** * Implements hook_entity_base_field_info(). */ function ...
3
votes
1answer
50 views

Drupal 8 Equivalent of Drupal 7's disabling a module without Uninstalling it

I noticed that I can't just "disable" a module in Drupal 8. As disabling it deletes all the config data of that module and completely uninstalls it. There are times I just want to disable a module to ...
-1
votes
1answer
97 views

How can I uninstall a module with entities in the db?

How can I uninstall a Drupal 8 module with entities in the db? I have made a dev module that implement content entities created using the drupal console. I've added fields, views, and made some ...
1
vote
1answer
29 views

The module does not dissapear after disable, uninstall, clear cache and cron job

I want to completely remove the File entitymodule from my Drupal site. I've disabled the module via Modules in admin panal. Then I also uninstalled it though the panel. After that, I've deleted the ...
1
vote
1answer
27 views

Can't uninstall User Badges

How can I uninstall the User Badges Module? I always get the same error when I try: Recoverable fatal error: Argument 1 passed to file_delete() must be an instance of stdClass, string given, called ...
0
votes
3answers
188 views

Can't uninstall module that depends on custom field type in use

Drupal 8 Using Yoast, I've removed it from all my content types but I can't uninstall because it says --> The Yoast SEO status & focused keywords field type is used in the following field: ...
0
votes
1answer
63 views

Unable to install Cart with ubercart

I'm trying to install Cart form ubercart after an uninstall: I'm getting the following message what can I do? Unable to install Cart, image.style.uc_cart, uc_order.status.abandoned already exist ...
5
votes
2answers
199 views

How to uninstall a module that has added a basefield that has data

My module adds a basefield 'myfield' to the core 'file' content entity. I now need to uninstall my module for development purposes, but I can't because drush refuses to uninstall the module, saying "...
3
votes
2answers
213 views

Why can't I uninstall a module if I deleted a field type in a content type? [duplicate]

I have an installation of Drupal 7. I installed Field Collection module. I created a content type (Books), added a collection type field, and created a View showing these data. Now, I deleted the ...
1
vote
1answer
349 views

How to remove custom module provided entity instances by the time the module being uninstalled?

I have the following use case: I have a custom module, which defines a custom entity type. The custom entity type has some content in the database. Module needs to be uninstalled now, but it can't, ...
2
votes
1answer
517 views

How do I forcefully uninstall any module having content?

I want to uninstall the Field module, but this module can not be uninstalled; when I try, I get the following message. Field API to add fields to entities like nodes and users. Machine name: ...
2
votes
1answer
625 views

How to resolve 'Fields pending deletion' and force deletion of said field?

I'm stuck with an uninstallable module. Drupal insists that there are Fields pending deletion and that the module can not be uninstalled. I've run cron zillion times already as advised for such ...
2
votes
1answer
739 views

D8 Install/uninstall custom module - 'field_storage_config' entity with ID already exists

I created a custom module which essentially is a replica of the Article CT .yml files which come with the D8 standard install-profile. When I installed the custom module, it successfully created ...
1
vote
2answers
1k views

Uninstalling a created custom module in drupal 8

I've created a custom module in drupal 8 and on this module i've created: Content types Fields Entities Views ... all this programmatically. But the problem when i try to uninstall it the database ...
3
votes
1answer
734 views

How to programmatically delete taxonomies when a module is uninstalled?

Taxonomy vocabularies are in the CMI as of Drupal 8, but I want to also keep the Taxonomy terms in code. I am programmatically creating terms in a custom module. function taxonomy_vocab_install() { ...
0
votes
1answer
44 views

Setting up local dev, “call to undefined function” from a module that I uninstalled a few months ago

I'm attempting to set up Acquia Dev Desktop with a database dump and git repo from Pantheon. I was using the Computed Field module in this project but I rewrote the code in my own custom module and ...
1
vote
0answers
59 views

How to use batch in hook_uninstall?

I have big data in hook_uninstall(). How to handle this data? Can I use batch in hook_uninstall()?
3
votes
1answer
552 views

Truncate tables before uninstalling a module in Drupal 8

I'm developing a module in Drupal 8, and because it handles quite a few relations between entities, I always need to add a bit of test data before being able to test the forms for the actual entity I'...
0
votes
3answers
410 views

Uninstalling a module [closed]

In order to un-install a module I disabled and deleted the folder from the root module folder. Though I have deleted the module yet it's showing in module list page. Why is this? Am I doing wrong?
0
votes
1answer
26 views

Replacing the updated module in drupal 7 without effecting the database from previous module?

I have seen that whenever we apply patch to a module, without reinstalling the module, new updates of the module won't be reflected. The problem is reinstalling the module will truncate the module ...
5
votes
2answers
320 views

Truncate field storage tables added by module before uninstall

I've added a field via hook_entity_base_field_info(). It has data stored in it. I then go to uninstall my module and I get the following error: -> drush8 pm-uninstall massing -y The following ...
1
vote
2answers
714 views

Reinstall a module that has .yml file in config\install [closed]

A good enhancement in Drupal 8 is having list of yml file to import via installation in mymodule_root\config\install, but this means I can not reinstall a module because the configuration settings ...
1
vote
2answers
145 views

Can you prevent a module from being disabled?

Is there any way to prevent Admins from disabling a module. Is there anything that can be done via code?
1
vote
2answers
633 views

How to disable a troublesome module that causes admin/modules to not list all modules?

I ran into an unexpected situation after installing the 7.x-2.1 of the Multilang - Embed multiple translations inside a unique node or block module. I was actually experimenting with that module to ...
1
vote
3answers
597 views

How to uninstall MailChimp

Please help me uninstall MailChimp. I disabled all MailChimp component modules, then I clicked uninstall. I got no error messages. I then deleted the MailChimp folder from Sites/All. Finally I ran ...
0
votes
2answers
28 views

Disable profile field when module that created it is disabled?

I have created a module that adds a field to the user profile. When I disable the module, I want the field to no longer be shown on the user profile. I do not want to wipe it out completely, since I ...
6
votes
4answers
1k views

How to get list of module folders which can be deleted safely?

I've uninstalled a lot of unnecessary modules recently through admin/modules/uninstall. Now I want to understand what folders of the modules can be deleted from sites/all/modules. I've tried drush ...
0
votes
1answer
339 views

What all is required to completely uninstall Webform?

After disabling and uninstalling Webform, I noticed that it appears to still be active. Existing Webform content are all still there and accessible. Apparently this is intended behavior. I can delete ...
2
votes
3answers
3k views

How can I disable a troublesome module?

I've been playing around with D8 and have managed to break a few things I can't figure out how to fix. Most recently, after installing (via manually adding the module code to the modules folder) the ...
4
votes
2answers
2k views

Why can't I reinstall my module after uninstall?

With last beta version of Drupal 8, I have this error: Error message Unable to install Nature Theme - Structure and configuration, block.block.kyna_block_aboutus, block.block....
10
votes
2answers
769 views

Best way to delete all variables when uninstalling module

I'm writing a module that writes several variables (three, four variables for every content type, and other). Which method should I use to delete them on hook_uninstall? Is it safe to perform a ...
0
votes
0answers
53 views

Is it safe to comment out dependencies in a feature modules .info file?

I used features to migrate config and content (with uuid features) from a dev site to a live site. Now its there, I dont want the features anymore. Or perhaps partly, but I'd rather rebuild the ...
0
votes
1answer
81 views

How to dislodge drupal from Apache and remove drupal

Excuse me please.. I am new to website development. I am using LAMP on fedora 20. I am also using bluefish to edit html/php. As a shear experiment, I installed Commerce Kickstart on my system. I did ...
1
vote
2answers
300 views

What is the proper way to drop database references for an uninstalled drupal module?

I've uninstalled the Commerce Coupon 7.x-2.0-beta3 through the admin ui and removed the corresponding folder from the sites/all/modules directory. Now when I install the previous version of Commerce ...
2
votes
3answers
693 views

Does inactive modules can make my drupal site slower?

I have some modules that Im not using and they are inactive, if I uninstall and delete those modules could I improve th performance of my site, my site is becoming very very slow, the ajax requests ...
0
votes
0answers
49 views

Reinstalling issues

For some reason I wanted to reinstall drupal on my local windows 7. I thought it would be simple but its not (at least for me). I simply removed all files from my www root and dropped the db. When I ...
1
vote
1answer
80 views

My uninstall module tab is almost empty

hello to the drupal pro, I have over 50 disable modules listed on my module list page but only one appear under the uninstall tab. (Toolbar module) I discovered that when i wanted to uninstall a ...
0
votes
1answer
273 views

field_info_instance returns empty in hook_uninstall

In a custom module, I'm creating a new field and instance for a custom entity type like this: function mymodule_install() { if (!field_info_field('mymodule_field')) { $field = array( .... ); ...
1
vote
2answers
3k views

After disabling and uninstalling memcached module, I get this PDOException and WSOD? [duplicate]

I´ve cloned my production site in a local Xampp installation. My site has Memcached installed (in the server and I´ve got the drupal memcache module installed). But I´ve got this error at my local ...
0
votes
1answer
233 views

Uninstall module for which an update is pending?

I have a module for which an update is pending (drush updatedb). Unfortunately the update fails, blocking other updates of course (since it seems impossible to update selectively). Is it safe to I pm-...