Skip to content

Recognize spams the logs with "Implicitly marking parameter $factory as nullable is deprecated, the explicit nullable" #1242

@Morethanevil

Description

@Morethanevil

Which version of recognize are you using?

9.0.0

Enabled Modes

Object recognition

TensorFlow mode

Normal mode

Downstream App

Files App

Which Nextcloud version do you have installed?

31.0.0 RC4

Which Operating system do you have installed?

Ubuntu 24.04

Which database are you running Nextcloud on?

Postgres 17

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

How much RAM does your server have?

64GB

What processor Architecture does your CPU have?

x86_64

Describe the Bug

After installing Recognize 9.0.0, Nextcloud spams the logs with:

OCA\Recognize\Vendor\Amp\Parallel\Worker\factory(): Implicitly marking parameter $factory as nullable is deprecated, the explicit nullable type must be used instead at /var/www/html/nextcloud/apps/recognize/vendor/amphp/parallel/lib/Worker/functions.php#84 

This runs every 5 minutes like the cronjob. I use PHP8.4

Expected Behavior

No errors in the logs :)

To Reproduce

Debug log

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions