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

Error Cannot modify header information - headers already sent by #33

Open
dmundra opened this issue Mar 10, 2021 · 2 comments
Open

Error Cannot modify header information - headers already sent by #33

dmundra opened this issue Mar 10, 2021 · 2 comments
Assignees

Comments

@dmundra
Copy link
Contributor

dmundra commented Mar 10, 2021

Wanting to make public this bug that is also tracked in mantis: https://mantis.ilias.de/view.php?id=28387

When navigating in the plugin we get this error in the log files

Whoops\Exception\ErrorException thrown with message "Cannot modify header information - headers already sent by (output started at /var/www/html/Services/UICore/classes/class.ilTemplate.php:636)"

Stacktrace:
#6 Whoops\Exception\ErrorException in /var/www/html/Services/UICore/classes/class.ilTemplate.php:522
#5 header in /var/www/html/Services/UICore/classes/class.ilTemplate.php:522
#4 ilTemplate:show in /var/www/html/Services/Repository/classes/class.ilRepositoryGUI.php:405
#3 ilRepositoryGUI:show in /var/www/html/Services/Repository/classes/class.ilRepositoryGUI.php:356
#2 ilRepositoryGUI:executeCommand in /var/www/html/Services/UICore/classes/class.ilCtrl.php:215
#1 ilCtrl:forwardCommand in /var/www/html/Services/UICore/classes/class.ilCtrl.php:179
#0 ilCtrl:callBaseClass in /var/www/html/ilias.php:20

I tried finding the root cause but am stumped. Any thoughts? Anything I could try? We are running on PHP 7.2.

@dmundra
Copy link
Contributor Author

dmundra commented Mar 11, 2021

Our version of Ilias is 5.4.4 but in the bug link, the error is also reported with versions 5.4.11 and 5.4.14.

@dmundra
Copy link
Contributor Author

dmundra commented Mar 11, 2021

Another note, this issue seems to be intermittent.

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