contacts icon indicating copy to clipboard operation
contacts copied to clipboard

headers already sent in Err log

Open berlin2123 opened this issue 1 year ago • 1 comments

Describe the bug

Errors in the logs keep appearing as headers already sent.

Cannot modify header information - headers already sent by (output started at 
/var/www/html/nextcloud/3rdparty/sabre/http/lib/Sapi.php:130) at 
/var/www/html/nextcloud/3rdparty/sabre/http/lib/Sapi.php#70

Seems like the issue is related to this app.

Steps to reproduce

NC version 29.0.7, Contacts version 6.0.0

just check logs of nextcloud.

Expected behavior

no this err log

Actual behavior

this err log keep appearing

Contact version

6.0.0

Operating system

rockylinux 9

PHP engine version

8.2

Web server

apache

Database

mariadb

Additional info

No response

berlin2123 avatar Sep 16 '24 09:09 berlin2123

In 30.0.0 still present.

Seems a problem with the Crawler.

{
"reqId":"iJY7MX4PYEhPBSYbCelS",
"level":3,
"time":"2024-10-14T12:38:17+00:00",
"remoteAddr":"XXXXXXXXXXXXX::5",
"user":"--",
"app":"PHP",
"method":"GET",
"url":"/remote.php/dav/",
"message":"Cannot modify header information - headers already sent by (output started at /nextcloud/3rdparty/sabre/http/lib/Sapi.php:130) at /nextcloud/3rdparty/sabre/http/lib/Sapi.php#70",
"userAgent":"Nextcloud Server Crawler",
"version":"30.0.0.14",
"data":{"app":"PHP"},
"id":"670d117208539
"} 

Coming up every time /settings/admin/overview is opened.

mpreitz avatar Oct 14 '24 12:10 mpreitz

Thanks for your report 👍

The provided stack trace does not look related to the contacts app.

If you are still seeing the problem, please log an issue at https://github.com/nextcloud/server.

kesselb avatar Dec 19 '24 15:12 kesselb