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

Session callback must have a return value of type bool, null returned #257

Open
olegabr opened this issue Jul 2, 2023 · 3 comments
Open

Comments

@olegabr
Copy link

olegabr commented Jul 2, 2023

Just return false here?

@rwagner00
Copy link
Contributor

Thanks for the report. As a quick clarification, what is the calling code that produces the error?

@olegabr
Copy link
Author

olegabr commented Aug 4, 2023

It is better to return true there actually, or an error would be reported.

I do not have any specific calling code for this. It is just called normally from WordPress internals.

@paulpullen
Copy link

I just ran into this during a site upgrade to PHP 8.2. Any chance the fix could be merged into the next plugin update?

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

3 participants