Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[VarDumper] prevent error in value to Typed property must not be accessed before initialization #54265

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

Merged
merged 1 commit into from
Mar 13, 2024

Conversation

shakaran
Copy link
Contributor

@shakaran shakaran commented Mar 13, 2024

Q A
Branch? 7.0
Bug fix? yes
New feature? no
Deprecations? no
License MIT

Using Road Runner in webprofiler bundle the following error appears from vendor/symfony/web-profiler-bundle/Resources/views/Profiler/bag.html.twig:12:

An exception has been thrown during the rendering of a template ("Typed property Symfony\Component\VarDumper\Cloner\Stub::$value must not be accessed before initialization").

This helps to prevent that Twig\Error\RuntimeError

@carsonbot carsonbot added this to the 7.1 milestone Mar 13, 2024
@stof stof requested a review from nicolas-grekas March 13, 2024 09:45
@carsonbot carsonbot changed the title fix: prevent error in value to Typed property must not be accessed before initialization [VarDumper] fix: prevent error in value to Typed property must not be accessed before initialization Mar 13, 2024
@nicolas-grekas nicolas-grekas changed the title [VarDumper] fix: prevent error in value to Typed property must not be accessed before initialization [VarDumper] prevent error in value to Typed property must not be accessed before initialization Mar 13, 2024
@nicolas-grekas nicolas-grekas modified the milestones: 7.1, 7.0 Mar 13, 2024
@nicolas-grekas
Copy link
Member

Thank you @shakaran.

@nicolas-grekas nicolas-grekas merged commit b0b0b47 into symfony:7.0 Mar 13, 2024
@shakaran shakaran deleted the patch-2 branch March 13, 2024 12:30
@fabpot fabpot mentioned this pull request Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.