After upgrade to php 8, I’ve noticed tons of errors in the log file for this entry
Required parameter $tagManager follows optional parameter $fileIdentifier at /path_to_nc/apps/files/lib/Helper.php#220
Also happening with other files:
Required parameter $internalPath follows optional parameter $mountId at /path_to_nc/nextcloud/lib/private/Files/Config/CachedMountFileInfo.php
Nextcloud version (eg, 20.0.5): 21
Operating system and version (eg, Ubuntu 20.04): Raspbian GNU/Linux 10 (buster)
Apache or nginx version (eg, Apache 2.4.25): nginx/1.14.2
PHP version (eg, 7.4): v8.0.3
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
- Upgrade to NC 21
- Upgrade php to 8
- Check logs
I searched online and found this stackoverflow:
I’m not a php coder, but perhaps this presents a clue to the fix.