Can not modify header information - headers already sent by (output started at /lib/private/legacy/OC_JSON.php)

If you install php-uopz or php8.x-uopz with LDAPs mit Windows AD Server on Nextcloud 28.x.x oder 29.x.x , actions the Error:

Can not modify header information - headers already sent by
output started at /htdocs/lib/private/legacy/OC_JSON.php:116
at /htdocs/lib/private/legacy/OC_JSON.php#103

and becomes unable LDAP/AD-Integration in Web Management Portal NextCloud.

Solution:
If you have this Error, do it down:

#apt remove php-uopz
#apt remove php8.2-uopz
#systemctl restart apache2

Can you explain to me, how this is related to the cookbook app?
Thanks

PS: German is perfectly fine if this makes communication easier for you. I am a native speaker.

But I have no cookbook app on my NC-Server. From my experiences is a conflict between PHP-Modules. You must check which PHP-Modules are required for your NC-Version for Example 29.0.4
and delete it with:
#apt remove php-XXX or php8.x-xxx

Aaahh, we misunderstand: You have put the topic in the category cookbook. The cookbook is a NC app that I am maintaining. The category was intended to be used by users that have a question/problem with said app.

You, on the other hand, want to share a best practice (a cookbook) on how to fix a certain problem with fellow admins.

Tnx full for your Instruction. I have corrected category. :smiley:

1 Like