Version 11 upgrade - ODT generation failing

Hi, I upgraded my staging environment to v11, and almost everything is working perfectly. Only one issue, which is actually quite nasty. Generating any ODT/ODS document fails. The problem is like below: Some invalid argument is given in commondocgenerator.php, and of course when the error message appears, the headers has been set and can’t be changed anymore.

I am running on a LInux server with PHP 7.3.8. All the documents are working fine on 10.0.6. Can anybody give me some advice?

Warning: Invalid argument supplied for foreach() in         
/home/jardes/www/staging/core/class/commondocgenerator.class.php on line 791

Warning: Cannot modify header information - headers already sent by (output started at 
/home/jardes/www/staging/core/class/commondocgenerator.class.php:791) in 
/home/jardes/www/staging/main.inc.php on line 1133

Warning: Cannot modify header information - headers already sent by (output started at 
/home/jardes/www/staging/core/class/commondocgenerator.class.php:791) in 
/home/jardes/www/staging/main.inc.php on line 1137

Warning: Cannot modify header information - headers already sent by (output started at 
/home/jardes/www/staging/core/class/commondocgenerator.class.php:791) in 
/home/jardes/www/staging/main.inc.php on line 1138

I pushed a fix in hope to fix this. Should be available in 11.0.2 soon.

1 Like

Perfect, thanks! That was fast…