Skip to content

Cannot send session cache limiter - headers already sent #4

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

Closed
staabm opened this issue Jan 19, 2020 · 2 comments
Closed

Cannot send session cache limiter - headers already sent #4

staabm opened this issue Jan 19, 2020 · 2 comments

Comments

@staabm
Copy link

staabm commented Jan 19, 2020

We have some test using session_start() etc and because of the output created by this result printer we run into Cannot send session cache limiter - headers already sent errors.

Not sure why this does not happen with the default result printer... maybe you print to early or something?

https://github.com/redaxo/redaxo/pull/3172/checks?check_run_id=397516031

@staabm
Copy link
Author

staabm commented Jan 19, 2020

I guess the reason could be that https://github.com/mheap/phpunit-github-actions-printer/blob/master/src/Printer.php#L52 contains a newline and therefore output might get flush'ed immediately

@mheap
Copy link
Owner

mheap commented Jan 19, 2020

@staabm Could you try with v1.1.0? There was a bug with some errors that caused a warning which would have written to stdout

@mheap mheap closed this as completed Feb 15, 2020
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