Skip to content

Error accessing uninitialized property #126

@javiereguiluz

Description

@javiereguiluz

I finally could update a big Symfony app to 7.0. When trying to browse the app, I see this error:

Typed property Symfony\Component\HttpKernel\Bundle\Bundle::$extension
must not be accessed before initialization

The error happens here:

if (null === $this->extension) {

@nicolas-grekas did you expect this issue? What would be the best way to solve this? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions