Skip to content
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

Undefined class constant 'SAMESITE_NONE' #765

Closed
bmehdi opened this issue Jun 17, 2020 · 4 comments
Closed

Undefined class constant 'SAMESITE_NONE' #765

bmehdi opened this issue Jun 17, 2020 · 4 comments

Comments

@bmehdi
Copy link

bmehdi commented Jun 17, 2020

#753 evolution does not work with symfony version < 3.4.28 because SAMESITE_NONE constant has been added in symfony/http-foundation@f9bb073. We have error message 'Undefined class constant 'SAMESITE_NONE' in composer install.

@simoninkel
Copy link

Hi there! I got the same issue with my SF4.1 project.

"Undefined class constant 'SAMESITE_NONE' in /code/vendor/lexik/jwt-authentication-bundle/DependencyInjection/Configuration.php on line 91"

I can't seem to understand what the problem is here.

@chalasr
Copy link
Collaborator

chalasr commented Jun 26, 2020

The problem is that this constant was introduced in a patch release on Symfony. We need to hardcode the none value for fixing it.
But note that your Symfony installation is outdated, you should really upgrade :)

@bmehdi
Copy link
Author

bmehdi commented Jun 29, 2020

Can we put "^3.4.28|^4.1.x..." at symfony dependency in composer.json ?

@DaveKnifeman
Copy link

@chalasr Which Symfony version contains the constant?

@chalasr chalasr closed this as completed Dec 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants