Hello all,
Not really sure what is wrong, but in a new install of Kirby we have a lot of problems with images. Uploading images work fine. Srcset seems to also work and generates thumbs in the Media folder.
But:
When clicking on delete, or clicking on select the panel freezes. In the console we get the following error (actually hundreds of them):
app.js:1 Uncaught RangeError: Maximum call stack size exceeded.
In the error log of Nginx we get this:
2019/11/11 15:15:29 [error] 27525#27525: *4349 FastCGI sent in stderr: "PHP message: PHP Warning: Cannot modify header information - headers already sent by (output started at /var/www/stage/index.php:5) in /var/www/stage/kirby/src/Http/Response.php on line 275" while reading upstream, client: 89.20.163.66, server: EDITED, request: "GET /media/pages/work/dutch-police/1444430157-1573467880/EDITED.webp HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.2-fpm.sock:", host: "EDITED", referrer: "EDITED"
Not really know where to start looking. We tried both Imagemagick and GD.
What does work:
- uploading files
- generating thumbs (scrset)
- generating a webp image for newly uploaded files (hook file.create:after)
- generating a gif for uploaded mp4βs
We are running NGINX on Ubuntu 18.04 and PHP 7.2.
I have other websites with the same server setup, that DONβT seem to have this problem. Just looking for a direction to look into. Any ideas?