-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
"Circular reference detected" when creating a second secret for the prod env #37142
Comments
Can you please provide us with a simple reproducing app? Because I don't reproduce for now. Thanks. |
@nicolas-grekas Able to reproduce using the --full symfony project, but not the standard. |
Narrowed the bug down to when the symfony/monolog-bundle is added as a dependency. The bug appears related to php < 7.4. |
I posted about thsi on Symfony's Slack and other users also experiment this, so it doesn't seem to be an isolated problem. |
Duplicate of #37281 Seems as though the exception is thrown and caught, but not in php 7.3. |
Using php 7.2 here |
because exception thrown in This issue does not affect >= 7.4 which allows throwing exception in |
Hi there, any plans to fix this in a near future? I guess there still are a lot of people using php 7.2 like myself! |
Thanks for the hints about __toString + exceptions. Fixed in #37464. |
…kas) This PR was merged into the 3.4 branch. Discussion ---------- [ErrorHandler] fix throwing from __toString() | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | Fix #37142 | License | MIT | Doc PR | - Commits ------- aeb4637 [ErrorHandler] fix throwing from __toString()
Hi @nicolas-grekas, I see this is merged in SF3.4, what about SF4 and SF5 ? |
It's already merged in all branches, have a look. |
Hello @nicolas-grekas , I'm on Symfony 5.1, with PHP 7.3, my recipes are up to date, and yet the problem persists, with the same error code |
It's not tagged yet, maybe that's why. You'll need to use 5.1.3 when released. |
Great ! Do you know when the update will be released? |
Symfony version(s) affected: 5.1.0
Description
Got a Circular reference error when adding a second secret for the prod env. No problems in dev or staging env...
How to reproduce
The text was updated successfully, but these errors were encountered: