8000 Issue with "symfony/serializer" component on a clean Symfony installation · Issue #57294 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

Issue with "symfony/serializer" component on a clean Symfony installation #57294

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

Closed
alessandro-amos opened this issue Jun 3, 2024 · 1 comment

Comments

@alessandro-amos
Copy link

Symfony version(s) affected

7.1, 7.0, 6.4

Description

I have encountered an issue with the "symfony/serializer" component on a clean Symfony installation. After installing the component via Composer, an error is generated when clearing the cache. The error message is "You have requested a non-existent service "serializer.normalizer.object"."

Interestingly, this error does not occur when the "symfony/security-bundle" package is installed.

I am currently working on WSL with Ubuntu and Docker php:8.2-fpm.

How to reproduce

I just installed Symfony using Composer and then the serializer component:

composer create-project symfony/skeleton:"7.1.*" my_project_directory

Followed by:

composer require symfony/serializer

Possible Solution

No response

Additional Context

image

@xabbuh
Copy link
Member
xabbuh commented Jun 3, 2024

see #57297

nicolas-grekas added a commit that referenced this issue Jun 3, 2024
…odified (xabbuh)

This PR was merged into the 5.4 branch.

Discussion
----------

[FrameworkBundle] not registered definitions must not be modified

| Q             | A
| ------------- | ---
| Branch?       | 5.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Issues        | Fix #57294
| License       | MIT

Commits
-------

c9b117c not registered definitions must not be modified
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants
0