Skip to content

Fatal error on login after upgrading to Nextcloud 34: Tensor\Matrix::map() argument error #1537

Description

@ktatar156

Which version of recognize are you using?

12.0.0

Enabled Modes

Face recognition

TensorFlow mode

Normal mode

Downstream App

Memories App

Which Nextcloud version do you have installed?

34

Which Operating system do you have installed?

Ubuntu Server 26.04

Which database are you running Nextcloud on?

do not know

Which Docker container are you using to run Nextcloud? (if applicable)

No response

How much RAM does your server have?

16GB

What processor Architecture does your CPU have?

x86_64

Describe the Bug

After upgrading Nextcloud to version 34, users are unable to log in, encountering an "Internal Server Error" (500) page. Disabling the recognize app via OCC instantly resolves the issue and restores login functionality.

Expected Behavior

Login should succeed without any internal server errors, and the recognize app should initialize properly in the background.

To Reproduce

Upgrade Nextcloud to version 34.

Have the recognize app enabled.

Attempt to log in via the web interface.

The server returns an "Internal Server Error".

Debug log

{"reqId":"XbNEd1YqWYRZ5nZ9ZYHG","level":3,"time":"2026-07-07T20:24:58+00:00","remoteAddr":"192.168.0.105","user":"USERUSER","app":"index","method":"POST","url":"/nextcloud/index.php/login","scriptName":"/nextcloud/index.php","message":"Tensor\Matrix::map(): Argument #1 ($callback) must be a valid callback..."}

PHP 8.3.6 version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions