Skip to content

Error: Call to a member function getParent() on bool (When viewing clusters) #154

Closed
@qosmio

Description

Configuration information

Pdlib Version: 0.1.0
Models Version: 1
Nextcloud: 16.0.1
OS: Ubuntu 18.04
DB: Postgres 11.4
Browser: Firefox Quantum 64
PHP: 7.3.4
Web Server: NGINX 1.16
Facerecognition Commit: cc43fa5
Dlib: 19.17

I'm having an issue viewing the clusters page, even though I've run a full scan for my own username. I've actually never been able to view the clusters page, even on version 15.

Annotation

Below is the error

PHP Error

[index] Error: Error: Call to a member function getParent() on bool at <<closure>>

0. /data/code/nextcloud/apps/facerecognition/lib/Controller/PersonController.php line 80
   OCA\FaceRecognition\Controller\PersonController->getRedirectToFileUrl(45166)
1. /data/code/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 166
   OCA\FaceRecognition\Controller\PersonController->index()
2. /data/code/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 99
   OC\AppFramework\Http\Dispatcher->executeController(OCA\FaceRecognit ... {}, "index")
3. /data/code/nextcloud/lib/private/AppFramework/App.php line 126
   OC\AppFramework\Http\Dispatcher->dispatch(OCA\FaceRecognit ... {}, "index")
4. /data/code/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php line 47
   OC\AppFramework\App::main("OCA\\FaceRecogn ... r", "index", OC\AppFramework\ ... {}, {_route: "facerecognition.person.index"})
5. <<closure>>
   OC\AppFramework\Routing\RouteActionHandler->__invoke({_route: "facerecognition.person.index"})
6. /data/code/nextcloud/lib/private/Route/Router.php line 297
   undefinedundefinedcall_user_func(OC\AppFramework\ ... {}, {_route: "facerecognition.person.index"})
7. /data/code/nextcloud/lib/base.php line 975
   OC\Route\Router->match("/apps/facerecognition/persons")
8. /data/code/nextcloud/index.php line 42
   OC::handleRequest()

GET /apps/facerecognition/persons

Config

SELECT appid,
       configkey,
       configvalue
  FROM public.oc_preferences
 WHERE appid='facerecognition'
   AND userid='qosmio'
appid configkey configvalue
facerecognition enabled true
facerecognition full_image_scan_done true
facerecognition force-create-clusters false
facerecognition recreate-clusters false

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions