-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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 variable: _SESSION in command php spark #1183
Comments
I'm not getting that with the latest build locally. Have you been working on any custom commands? What OS are you on? |
Oh, I found it App/Filters/AdminAuthFilter.php
Config/Filters.php
|
you should can add helper('is_cli');
if (! is_cli()) {
//...
} |
Correct - check for CLI in your filter. Not a bug since SESSIONS don't exist in the CLI version of PHP. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi
I'm run command php spark then error
You can view it here: http://prntscr.com/knhgmn
thanks
The text was updated successfully, but these errors were encountered: