Closed Complexity closed 1 week ago
This error is coming from Built-in CODE (richdocumentscode
) not from Nextcloud Office (richdocuments
). You'll need to report it here: https://github.com/CollaboraOnline/richdocumentscode
For what it's worth, that fatal error is actually arising in a section of code that is trying to give the details about an error that has already occurred. So the root cause is likely elsewhere (as in there is a problem already if you're ending up in that area of code).
⚠️ This issue respects the following points: ⚠️
Bug description
After installing Collabora CODE and enabling Office in Nextcloud, we have the option to create new DOCX files, or to click on uploaded DOCX files for in-browser editing.
However, when trying to edit the files, the browsers hangs at a white page, and eventually reports "Document Loading Failed. Failed to load Nextcloud Office, try again later."
Examining Apache logs reveals a Fatal PHP error which seems related.
[Fri Jun 14 11:14:39.593360 2024] [php:error] [pid 1915] [client 185.248.85.38:59296] PHP Fatal error: Uncaught TypeError: implode(): Argument nextcloud/server#1 ($array) must be of type array, string given in /var/www/html/nextcloud/apps/richdocumentscode_arm64/proxy.php:398\nStack trace:\n#0 /var/www/html/nextcloud/apps/richdocumentscode_arm64/proxy.php(398): implode()\n#1 {main}\n thrown in /var/www/html/nextcloud/apps/richdocumentscode_arm64/proxy.php on line 398
Steps to reproduce
Expected behavior
One would expect the document to open in-browser with the Nexcloud Office environment and be editable.
Installation method
Community Manual installation with Archive
Nextcloud Server version
29
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.1
Web server
Apache (supported)
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Upgraded to a MAJOR version (ex. 22 to 23)
Are you using the Nextcloud Server Encryption module?
Encryption is Enabled
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
Collabora Online server is reachable.
Collabora Online Development Edition 24.04.2.1 80a6f97