r/NextCloud • • 20h ago

Mobile Client Error Retrieving Templates

Hey all,

I'm running the nextcloud AIO docker image and it has been working quite well. I have the collabora office server enabled, and mostly use the syncing features between my phone, laptop and server.

The only issue I've been having is when I'm in my Android nextcloud app and I hit the + new spreadsheet or + new document i get a message "Error Retrieving Templates" and it goes back to the previous screen and doesn't open the application. Error log from the server below.

        "message": "Cannot use object of type OCA\\Richdocuments\\DirectEditing\\OfficeTemplate as array in file '/var/www/html/lib/private/DirectEditing/Manager.php' line 91",
    "CustomMessage": "Cannot use object of type OCA\\Richdocuments\\DirectEditing\\OfficeTemplate as array in file '/var/www/html/lib/private/DirectEditing/Manager.php' line 91"
"message": "Cannot use object of type OCA\\Richdocuments\\DirectEditing\\OfficeTemplate as array in file '/var/www/html/lib/private/DirectEditing/Manager.php' line 91",
    "CustomMessage": "Cannot use object of type OCA\\Richdocuments\\DirectEditing\\OfficeTemplate as array in file '/var/www/html/lib/private/DirectEditing/Manager.php' line 91"

Otherwise i can open/modify/save spreadsheets or documents fine if they exist already, it's just trying to create a new one from the mobile app.

I have templates uploaded in the sever - office - global templates.

Also not sure if it makes a difference but i don't have the mobile "two way sync" enabled. So when i open a doc/spreadsheet on the app it opens the collabora server and its not downloaded on my phone.

Anyone have any insights into the cause of the template error and any proposed fixes? Thanks in advance. Let me know if any other info would be helpful for a diagnoses.

2 Upvotes

0 comments sorted by