- Issue created by @AaronBauman
- πΊπΈUnited States AaronBauman Philadelphia
Looks like this is a bug with symfony/framework-bundle :
https://github.com/symfony/symfony/pull/57297For me, I resolved it by rolling back to symfony/framework-bundle 6.4.3 but other version will probably work also.
@AaronBauman
I'm hitting that same error;
I wonder how did you roll back to symfony/framework-bundle 6.4.3I'm not sure where to check with version I'm at.
Thanks
- πΊπΈUnited States AaronBauman Philadelphia
i just required it directly, rather than relying on simplesamlphp
composer require symfony/framework-bundle:6.4.3
I found a way to downgrade the different Symfony packages and solve the problem - until symfony release a new version that fixes this issue:
https://www.drupal.org/project/simplesamlphp_auth/issues/3452457 π¬ Update to Symfony 6.4.8 throws error Active
by mark_fullmeron your local machine: edit composer.json to add the following under the "conflict": { section:"
conflict": { "symfony/yaml":"6.4.8", "symfony/validator":"6.4.8", "symfony/string":"6.4.8", "symfony/serializer":"6.4.8", "symfony/psr-http-message-bridge":"6.4.8", "symfony/process":"6.4.8", "symfony/mime":"6.4.8", "symfony/mailer":"6.4.8", "symfony/intl":"6.4.8", "symfony/http-kernel":"6.4.8", "symfony/http-foundation":"6.4.8", "symfony/error-handler":"6.4.8", "symfony/dependency-injection":"6.4.8", "symfony/console":"6.4.8", "symfony/config":"6.4.8", "symfony/cache":"6.4.8", "symfony/var-exporter":"6.4.8", "symfony/var-dumper":"6.4.8", "symfony/routing":"6.4.8", "symfony/framework-bundle":"6.4.8", "symfony/finder":"6.4.8", "symfony/filesystem":"6.4.8", "symfony/event-dispatcher":"6.4.8" },
then run
composer update
to update the composer.lock file -if not it will generate a conflict with composer.lock file- Status changed to Closed: works as designed
6 months ago 7:24am 27 June 2024 - π³πΏNew Zealand RoSk0 Wellington
Symfony has already released the fix in v7.1.1. For prior versions I would recommend including the the patch with the big fix in your
composer.json
:- add this to your patches file or section
"symfony/framework-bundle": { "Issue #57294: Issue with 'symfony/serializer' component on a clean Symfony installation": "https://github.com/symfony/symfony/commit/0625660d157f7f0fbeaa7486daf548270fc613cc.diff" }
- and this
"symfony/framework-bundle": "-p5"
to thecweagans/composer-patches
patchLevel
configuration, so you have
"patchLevel": { "drupal/core": "-p2", "symfony/framework-bundle": "-p5" },
Strictly speaking this is not this module problem, or bug, so I'm closing this. Hopefully we will have 6.4.x release soon that would include that.
- add this to your patches file or section
- πΊπΈUnited States AaronBauman Philadelphia
Makes sense, glad it's fixed upstream