Internal Server Error - Installed November 1, 2022
[index] Error: Exception: version_compare() expects parameter 1 to be string, null given in file '/var/www/html/nextcloud/apps/memories/lib/Util.php' line 69 at <
- /var/www/html/nextcloud/lib/private/AppFramework/App.php line 172 OC\AppFramework\Http\Dispatcher->dispatch()
- /var/www/html/nextcloud/lib/private/Route/Router.php line 298 OC\AppFramework\App::main()
- /var/www/html/nextcloud/lib/base.php line 1047 OC\Route\Router->match()
- /var/www/html/nextcloud/index.php line 36 OC::handleRequest()
GET /index.php/apps/memories/ from 10.0.0.199 by admin at 2022-11-01T20:57:21+00:00
{"reqId":"ICTFARSVm59cGsqzrzHv","level":3,"time":"2022-11-01T20:57:21+00:00","remoteAddr":"10.0.0.199","user":"admin","app":"PHP","method":"GET","url":"/index.php/apps/memories/","message":"Trying to access array offset on value of type null at /var/www/html/nextcloud/apps/memories/lib/Util.php#67","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36","version":"25.0.0.18","exception":{"Exception":"Error","Message":"Trying to access array offset on value of type null at /var/www/html/nextcloud/apps/memories/lib/Util.php#67","Code":0,"Trace":[{"file":"/var/www/html/nextcloud/apps/memories/lib/Util.php","line":67,"function":"onError","class":"OC\Log\ErrorHandler","type":"::"},{"file":"/var/www/html/nextcloud/apps/memories/lib/Controller/PageController.php","line":91,"function":"recognizeIsEnabled","class":"OCA\Memories\Util","type":"::"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":225,"function":"main","class":"OCA\Memories\Controller\PageController","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":133,"function":"executeController","class":"OC\AppFramework\Http\Dispatcher","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/App.php","line":172,"function":"dispatch","class":"OC\AppFramework\Http\Dispatcher","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Route/Router.php","line":298,"function":"main","class":"OC\AppFramework\App","type":"::"},{"file":"/var/www/html/nextcloud/lib/base.php","line":1047,"function":"match","class":"OC\Route\Router","type":"->"},{"file":"/var/www/html/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/html/nextcloud/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"},"id":"636188329c6af"}
Found the answer. Looked up line 69 in the util.php and it is looking for recognize to be at least version 3. $v = $appManager->getAppInfo('recognize')['version'];
return version_compare($v, '3.0.0-alpha', '>=');
My installation for recognize was borked and showed version 0. Reinstalled the recognize app and problem solved.