Drupal: is an unstable module introducing errors that are still present even after the module is removed?

If I download a module that is unstable to run in Drupal (red on top of the download link), does it cause problems for my drupal installation, even if it is not enabled?

In other words, if I turn it on and use it .. can it cause problems with other modules or the drupal kernel that remain there even after I turned it off?

thanks

+4
source share
2 answers

If an error in the module causes configuration settings or other data in your database, they will remain even after removing the module. So yes, it can cause problems for other Drupal modules or core even after removal.

Please note that this can happen with โ€œstableโ€ modules, as the decision about when to declare the module โ€œready for releaseโ€ more or less corresponds to the support!

This is one of many reasons to never, never test new modules (stable or not) directly on a production installation. First create a test installation, install a new module (s) and test, test, test.

The same applies to updates, even for Drupal kernel updates. Always run a test run with a separate installation first (at least make sure you have a working, restoreable backup of your database and code that you can return to in case something goes wrong).

+4
source

You need to do two things that can help.

  • Clear the cache manually In the admin-> performance section

  • Remove the module (there is a tab at the top of the modules page so you can do this).

Modules that are well written should not affect your site after completing these steps, but they may corrupt the data used by other modules. This will make it difficult to solve problems.

0
source

Source: https://habr.com/ru/post/1314515/


All Articles