OnlyOffice Documents would not open and I was seeing alot of this in the log files:
Error: Maximum function nesting level of ‘256’ reached, aborting!
Not much Nextcloud Xdebug info online - I have reached a workaround by increasing Xdebug nesting to 1000:
xdebug.max_nesting_level = 1000
Memory Limit: 2 GB
Max Execution Time: 3600
Upload max size: 10 GB
Size: 65.5 MB