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

setcookie incompatibility on php 8.1 #103

Open
le-zell opened this issue Oct 6, 2022 · 1 comment
Open

setcookie incompatibility on php 8.1 #103

le-zell opened this issue Oct 6, 2022 · 1 comment

Comments

@le-zell
Copy link

le-zell commented Oct 6, 2022

Log error :

Error: setcookie(): Passing null to        2022-10-06T21:07:21+02:00
                              parameter #3 ($expires_or_options) of type
                              array|int is deprecated at
                              /xxxxxxxxxxxxxxx/public_html/apps/user_cas/appinfo/app.php#59

Error from line setcookie("user_cas_enforce_authentication", "0", null, '/');

null seems not a valid option :

i put a day as e expires value : setcookie("user_cas_enforce_authentication", "0", time()+60*60*24, '/');

@le-zell le-zell changed the title setcookie incompatibilty on php 8.1 setcookie incompatibility on php 8.1 Oct 6, 2022
@landryb
Copy link

landryb commented Jul 27, 2023

should be fixed by #108

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

2 participants