nextcloud / contacts

📇 Contacts app for Nextcloud
https://apps.nextcloud.com/apps/contacts
GNU Affero General Public License v3.0
569 stars 173 forks source link

headers already sent in Err log #4147

Open berlin2123 opened 1 month ago

berlin2123 commented 1 month ago

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

mpreitz commented 2 weeks ago

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.