Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

3.2.0-RC1: Problem with redis provider service #20563

Copy link
Copy link
Closed
@Guite

Description

@Guite
Issue body actions

I am trying to update the Zikula core to Symfony 3.2.0-RC1. When running composer I receive the following error:

[RuntimeException]                                                                                                                                                                 
  An error occurred when executing the "'cache:clear --no-warmup'" command:                                                                                                          
  PHP Fatal error:  Uncaught Matthias\SymfonyServiceDefinitionValidator\Exception\InvalidServiceDefinitionsException: Service definition validation errors (1):                      
  - cache.default_redis_provider: Class "Redis" does not exist in /.../src/vendor/matthiasnoback/symfony-service-definition-validator/Compiler/ValidateServiceDefinitionsPass.php:44

Stack trace:
  #0 /.../src/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Compiler/Compiler.php(120): Matthias\SymfonyServiceDefinitionValidator\Compiler\ValidateServiceDefinitionsPass->process(Object(Zikula\Bridge\DependencyInjection\ContainerBuilder))
  #1 /.../src/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/ContainerBuilder.php(565): Symfony\Component\DependencyInjection\Compiler\Compiler->compile(Object(Zikula\Bridge\DependencyInjection\ContainerBuilder))
  #2 /.../src/lib/Zikula/Bridge/DependencyInjection/ContainerBuilder.php(110): S in /.../src/vendor/matthiasnoback/symfony-service-definition-validator/Compiler/ValidateServiceDefinitionsPass.php on line 44

The appDevDebugProjectContainer.xml file contains the following service definition:

    <service id="cache.default_redis_provider" class="Redis">
      <argument>redis://localhost</argument>
      <factory class="Symfony\Component\Cache\Adapter\RedisAdapter" method="createConnection"/>
    </service>

Is this a problem which must be fixed in our config file? If yes, how to do that (couldn't find anything about it in the cache component docs)?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.