md-systems/redis

Exception when add redis settings without enabling the module

csandanov opened this issue · 1 comments

When I add redis module and its settings to settings.php I get an exception when I try to enable the module:

$ drush en redis -y
Symfony\Component\DependencyInjection\Exception\LogicException: Service 'cache_tags.invalidator.checksum' for consumer 'cache_tags.invalidator' does not implement Drupal\Core\Cache\CacheTagsInvalidatorInterface. in /srv/app/core/lib/Drupal/Core/DependencyInjection/Compiler/TaggedHandlersPass.php on line 125
 [error]  Drush command terminated abnormally due to an unrecoverable error.
Symfony\Component\DependencyInjection\Exception\LogicException: Service 'cache_tags.invalidator.checksum' for consumer 'cache_tags.invalidator' does not implement Drupal\Core\Cache\CacheTagsInvalidatorInterface. in Drupal\Core\DependencyInjection\Compiler\TaggedHandlersPass->process() (line 125 of /srv/app/core/lib/Drupal/Core/DependencyInjection/Compiler/TaggedHandlersPass.php).

The similar problem when I try to disable redis

You can't have the settings without having the module enabled. #15 documents a way to do it, but I don't know if it's 100% reliable.,