symfonycorp / connect

The SymfonyConnect official API SDK
https://connect.symfony.com/
MIT License
91 stars 40 forks source link

Error accessing uninitialized property #126

Closed javiereguiluz closed 1 year ago

javiereguiluz commented 1 year ago

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: https://github.com/symfonycorp/connect/blob/ef075c748c87d1198b77f354395f3442df70624d/src/SymfonyConnectBundle.php#L30

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

alexandre-daubois commented 1 year ago

I guess this can be closed as fixed by https://github.com/symfony/symfony/pull/52438 :slightly_smiling_face: