Problem
Getting the following error when naivating to https://www.foo.dev/admin/config/system/actions/:
Drupal\Component\Plugin\Exception\PluginNotFoundException: The "mollom_comment_unpublish_action" plugin does not exist. in Drupal\Core\Plugin\DefaultPluginManager->doGetDefinition() (line 57 of /var/www/foo/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php).
Error appeared after removing and re-enabling the module. Every time I try enabling it i get this error:
Drupal\Core\Config\PreExistingConfigException: Configuration objects [error]
(mollom.settings) provided by mollom already exist in active
configuration in
/var/www/foo/core/lib/Drupal/Core/Config/PreExistingConfigException.php:70
Stack trace:
#0
/var/www/foo/core/lib/Drupal/Core/Config/ConfigInstaller.php(476):
Drupal\Core\Config\PreExistingConfigException::create('mollom',
Array)
#1
/var/www/foo/core/lib/Drupal/Core/ProxyClass/Config/ConfigInstaller.php(136):
Drupal\Core\Config\ConfigInstaller->checkConfigurationToInstall('module',
'mollom')
#2
/var/www/foo/core/lib/Drupal/Core/Extension/ModuleInstaller.php(146):
Drupal\Core\ProxyClass\Config\ConfigInstaller->checkConfigurationToInstall('module',
'mollom')
#3
/var/www/foo/core/lib/Drupal/Core/ProxyClass/Extension/ModuleInstaller.php(87):
Drupal\Core\Extension\ModuleInstaller->install(Array, true)
#4
phar:///usr/local/bin/drush/commands/core/drupal/environment.inc(131):
Drupal\Core\ProxyClass\Extension\ModuleInstaller->install(Array,
true)
I had to manually drop the Mollom rows from the config table of the drupal database to be able to enable it again.
Drupal: 8.1.x-dev
PHP: 7.0.4
Comments
Comment #2
damiencal CreditAttribution: damiencal commentedComment #3
damiencal CreditAttribution: damiencal commentedComment #4
eshta CreditAttribution: eshta at Acquia commentedI am unable to reproduce this using the latest Drupal 8.3 or the stable Drupal 8.2. There were changes to the uninstalling of modules and their related entities in 8.2. Are you able to reproduce using either of those versions?