We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Laravel Framework: 6.20.11 PHP Version: 7.4.14 Package version: Support v0.9.3 Used as a depencency for: Tracker v4.0.1
$ composer update ... ErrorException : session_start(): Cannot start session when headers already sent at /vendor/pragmarx/support/src/PhpSession.php:23 19| private function startSession() 20| { 21| if ( ! $this->isStarted()) 22| { > 23| session_start(); 24| } 25| }
The text was updated successfully, but these errors were encountered:
I solved it this way antonioribeiro/tracker#476 (comment), but definitely not ideal
Sorry, something went wrong.
Since it's specifically used with Laravel I've found it better to just add this to line 21 :
if ( ! app()->runningInConsole() && ! $this->isStarted())
Fix ErrorException : session_start(): Cannot start session when heade…
484c21c
…rs already sent antonioribeiro#30 (comment)
No branches or pull requests
Laravel Framework: 6.20.11
PHP Version: 7.4.14
Package version: Support v0.9.3
Used as a depencency for: Tracker v4.0.1
The text was updated successfully, but these errors were encountered: