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

Warning: session_destroy(): Trying to destroy uninitialized session #24

Merged
merged 1 commit into from
Jan 5, 2019
Merged

Conversation

roland-d
Copy link
Contributor

@roland-d roland-d commented Jan 5, 2019

Hello @stefangabos
After installing the package all works fine but I get this warning:
Warning: session_destroy(): Trying to destroy uninitialized session in D:\wamp\www\csvinew\vendor\stefangabos\zebra_session\Zebra_Session.php on line 269

Looking at the code I think it is because you are trying to destroy a session that actually doesn't exist while you want to destroy an existing session.

Hereby my tiny contribution. If I am wrong, feel free to close this :)

…n Zebra_Session.php on line 269

Hello @stefangabos 
After installing the package all works fine but I get this warning:
`Warning: session_destroy(): Trying to destroy uninitialized session in D:\wamp\www\csvinew\vendor\stefangabos\zebra_session\Zebra_Session.php on line 269`

Looking at the code I think it is because you are trying to destroy a session that actually doesn't exist while you want to destroy an existing session.

Hereby my tiny contribution. If I am wrong, feel free to close this :)
@stefangabos
Copy link
Owner

stefangabos commented Jan 5, 2019

my bad, i accidentally used the wrong logic. thank you!

@stefangabos stefangabos merged commit a40ab1a into stefangabos:master Jan 5, 2019
@roland-d roland-d deleted the patch-1 branch July 12, 2019 20:56
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

Successfully merging this pull request may close these issues.

None yet

2 participants