Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.22 crash on cache clear in symfony 4.4 #395

Closed
pkly opened this issue Jul 26, 2021 · 1 comment
Closed

1.22 crash on cache clear in symfony 4.4 #395

pkly opened this issue Jul 26, 2021 · 1 comment

Comments

@pkly
Copy link

pkly commented Jul 26, 2021

PHP version: 7.4.14

Description
The new version of the bundle crashes symfony on cache clear.

How to reproduce
Pull symfony 4.4 and install the bundle.

Additional context
Error stack

In Alias.php line 107:
                                                                              
  [Symfony\Component\DependencyInjection\Exception\InvalidArgumentException]  
  The deprecation template must contain the "%alias_id%" placeholder.         
                                                                              

Exception trace:
  at /var/www/vendor/symfony/dependency-injection/Alias.php:107
 Symfony\Component\DependencyInjection\Alias->setDeprecated() at /var/www/vendor/php-http/httplug-bundle/src/DependencyInjection/HttplugExtension.php:390
 Http\HttplugBundle\DependencyInjection\HttplugExtension->configureClient() at /var/www/vendor/php-http/httplug-bundle/src/DependencyInjection/HttplugExtension.php:135
 Http\HttplugBundle\DependencyInjection\HttplugExtension->configureClients() at /var/www/vendor/php-http/httplug-bundle/src/DependencyInjection/HttplugExtension.php:103
 Http\HttplugBundle\DependencyInjection\HttplugExtension->load() at /var/www/vendor/symfony/dependency-injection/Compiler/MergeExtensionConfigurationPass.php:76
 Symfony\Component\DependencyInjection\Compiler\MergeExtensionConfigurationPass->process() at /var/www/vendor/symfony/http-kernel/DependencyInjection/MergeExtensionConfigurationPass.php:39
 Symfony\Component\HttpKernel\DependencyInjection\MergeExtensionConfigurationPass->process() at /var/www/vendor/symfony/dependency-injection/Compiler/Compiler.php:94
 Symfony\Component\DependencyInjection\Compiler\Compiler->compile() at /var/www/vendor/symfony/dependency-injection/ContainerBuilder.php:762
 Symfony\Component\DependencyInjection\ContainerBuilder->compile() at /var/www/vendor/symfony/http-kernel/Kernel.php:596
 Symfony\Component\HttpKernel\Kernel->initializeContainer() at /var/www/vendor/symfony/http-kernel/Kernel.php:136
 Symfony\Component\HttpKernel\Kernel->boot() at /var/www/src/Kernel.php:158
 App\Kernel->boot() at /var/www/vendor/symfony/framework-bundle/Console/Application.php:169
 Symfony\Bundle\FrameworkBundle\Console\Application->registerCommands() at /var/www/vendor/symfony/framework-bundle/Console/Application.php:75
 Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at /var/www/vendor/symfony/console/Application.php:149
 Symfony\Component\Console\Application->run() at /var/www/bin/console:42
@dbu
Copy link
Collaborator

dbu commented Jul 26, 2021

hi, thanks for reporting this. yeah, turns out deprecation changed in different symfony versions. we removed the service deprecation in 1.22.1, see #396

i just released version 1.22.1 which should get rid of the error.

@dbu dbu closed this as completed Jul 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants