-
-
Notifications
You must be signed in to change notification settings - Fork 449
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
Symfony/Options-resolver issue when Sentry will be initialized #1634
Comments
Please provide a bit more info about your environment, like PHP version used etc. |
That seems an error that would be triggered under PHP below 7.4, and with You should check your environment when using |
PHP version was recently upgraded from 7.2 to 8.2 |
Already tried composer update, as well as downgrading the version of sentry and the option-resolver, still the issue occurs. |
After multiple checks, i found out some docker container issues which it did not upgrade my php version but on my docker file it says 8.2. Issue already resolved. Thanks for the help! |
How do you use Sentry?
Sentry SaaS (sentry.io)
SDK version
4.0
Steps to reproduce
Issue will display after initialization of Sentry (\Sentry\init(['dsn' => 'MY_SENTRY_DSN']))
Expected result
Sentry should be able to initialize.
Actual result
Parse error: syntax error, unexpected 'bool' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) in /usr/src/app/vendor/symfony/options-resolver/OptionsResolver.php on line 146
The text was updated successfully, but these errors were encountered: