Skip to content

[Bug]: Impossible to call set() on a frozen ParameterBag (since Symfony 7.3.3 upgrade) #85

@benr77

Description

@benr77

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

Since we upgraded to Symfony 7.3.3 we are seeing the following error.

Impossible to call set() on a frozen ParameterBag. 
["exception" => Symfony\Component\DependencyInjection\Exception\LogicException { …},
"extensionClass" => "Unleash\Client\Bundle\DependencyInjection\UnleashClientExtension"]

I have found related issues #44 and #49 from some time ago that report similar problems, but this was completely fine with Symfony 7.3.2 and has only started appearing on 7.3.3.

To reproduce

  1. Install clean Symfony 7.3.3 project
  2. Composer install this bundle
  3. Cache clear
  4. See error

Sample code (optional)

Version

0.12.182

Expected behavior

No error or warning is shown.

Logs (optional)

No response

Additional context (optional)

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions