Open PetitGrigri opened 3 years ago
Same problem here.
Hi, this is due to this condition here: https://github.com/florianv/symfony-swap/blob/master/DependencyInjection/FlorianvSwapExtension.php#L83 and here: https://github.com/florianv/symfony-swap/blob/master/DependencyInjection/FlorianvSwapExtension.php#L108
In case you'd like to debug the issue ;) Thanks!
Test on Symfony 4.4.21.
After installing symfony-swap and his dependencies, i created a custom cache provider in the same way than recommanded at https://github.com/florianv/swap/blob/master/doc/readme.md#cacheby using a PRedis Client.
I used it after in the same way than https://github.com/florianv/symfony-swap/blob/master/Resources/doc/index.md.
This is the configuration i have : config/services.yaml :
config/packages/florianv_swap.yaml :
I got this error :
it look like that the $container as no definition for the "redis.psr16.adapter" in FlorianvSwapExtension on line 108.
How to fix this error ?
Additional clarification, when i build a new Swap with the custom cache : it's working well