Since the update to NC15, I have looped alerts, several per second to saturate the screen, with the message:
Undefined index: parent at /…/nextcloud/lib/private/Files/Cache/Cache.php#170
Last line of the excerpt below:
public static function cacheEntryFromData ($ data, IMimeTypeLoader $ mimetypeLoader) {
// fix types
$ data [‘fileid’] = (int) $ data [‘fileid’];
$ data [‘parent’] = (int) $ data [‘parent’];
I do not know how to fix this error. Is it related to a bug in the new version or an update to me in the database?
For information I do not have access to OCC Command on my shared hosting. I can only use phpmyadmin commands and-or CRON jobs.
Yes. But I have not quite updated GroupFolder in the sense that the application has been disabled during the NC15 update.
On the other hand I reinstalled the application GroupFolder in stride which is with version 2.0.
Have you found a solution?
I am quite worried about the number of errors. Would not it risk crashing my Nextcloud?
Yeah, you’re a chef!
I disable the application and the error stops happening.
But I can not use GroupFolder anymore.
Do I have to wait for an update? Or is there a fix?
Thanks again
I confirm that the update to GroupFolder 2.0.1 solved my problem of looping logs.
Thank you a thousand times and long live the patience, the free software, the solidarity and especially the lively Nextcloud team
Your right, I’ve just checked the log, I’m getting the below cron error daily.
TypeError: Argument 1 passed to OCA\GroupFolders\Versions\VersionsBackend::getVersionsFolder() must be of the type integer, string given, called in /usr/share/nginx/nextcloud/apps/groupfolders/lib/Versions/VersionsBackend.php on line 154
Error seems to be still there tonight (2 times a day):
TypeError: Argument 1 passed to OCA\GroupFolders\Versions\VersionsBackend::getVersionsFolder() must be of the type integer, string given, called in /nextcloud/apps/groupfolders/lib/Versions/VersionsBackend.php on line 154