You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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.
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
The text was updated successfully, but these errors were encountered: