Error: sizeof(): Parameter must be an array or an object that implements Countable at /var/www/nextcloud/apps/carnet/lib/Misc/CacheManager.php#118 #129
Describe the bug
cannot open , create or delete notes from Android app, Nextcloud server is 21.0.1
Desktop (please complete the following information):
OS: OSX 10.11.6
Browser - Ungoogled Chromium
{"reqId":"YHwwIwyt2mmvEL9C2waUBwAAAQQ","level":3,"time":"2021-04-18T13:12:03+00:00","remoteAddr":"xxxx","user":"xxxx","app":"PHP","method":"GET","url":"/apps/carnet/metadata?paths[]=Normalization%20process.sqd&","message":{"Exception":"Error","Message":"sizeof(): Parameter must be an array or an object that implements Countable at /var/www/nextcloud/apps/carnet/lib/Misc/CacheManager.php#118","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::"},{"file":"/var/www/nextcloud/apps/carnet/lib/Misc/CacheManager.php","line":118,"function":"sizeof"},{"file":"/var/www/nextcloud/apps/carnet/lib/Misc/CacheManager.php","line":111,"function":"getFromCache2","class":"OCA\\Carnet\\Misc\\CacheManager","type":"->"},{"file":"/var/www/nextcloud/apps/carnet/lib/Controller/NoteController.php","line":632,"function":"getFromCache","class":"OCA\\Carnet\\Misc\\CacheManager","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":218,"function":"getMetadata","class":"OCA\\Carnet\\Controller\\NoteController","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":127,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":157,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":302,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":993,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":37,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"},
Describe the bug cannot open , create or delete notes from Android app, Nextcloud server is 21.0.1
Desktop (please complete the following information):
{"reqId":"YHwwIwyt2mmvEL9C2waUBwAAAQQ","level":3,"time":"2021-04-18T13:12:03+00:00","remoteAddr":"xxxx","user":"xxxx","app":"PHP","method":"GET","url":"/apps/carnet/metadata?paths[]=Normalization%20process.sqd&","message":{"Exception":"Error","Message":"sizeof(): Parameter must be an array or an object that implements Countable at /var/www/nextcloud/apps/carnet/lib/Misc/CacheManager.php#118","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::"},{"file":"/var/www/nextcloud/apps/carnet/lib/Misc/CacheManager.php","line":118,"function":"sizeof"},{"file":"/var/www/nextcloud/apps/carnet/lib/Misc/CacheManager.php","line":111,"function":"getFromCache2","class":"OCA\\Carnet\\Misc\\CacheManager","type":"->"},{"file":"/var/www/nextcloud/apps/carnet/lib/Controller/NoteController.php","line":632,"function":"getFromCache","class":"OCA\\Carnet\\Misc\\CacheManager","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":218,"function":"getMetadata","class":"OCA\\Carnet\\Controller\\NoteController","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":127,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":157,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":302,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":993,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":37,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"},