Cronjob error message

From one of my nextcloud instances, I get this error message every few hours or so:

Error: Cannot use object of type stdClass as array in /var/www/**/**/lib/private/Security/VerificationToken/CleanUpJob.php:63
Stack trace:
#0 /var/www/**/**/lib/private/BackgroundJob/JobList.php(278): OC\Security\VerificationToken\CleanUpJob->setArgument()
#1 /var/www/**/**/lib/private/BackgroundJob/JobList.php(213): OC\BackgroundJob\JobList->buildJob()
#2 /var/www/**/**/cron.php(121): OC\BackgroundJob\JobList->getNext()
#3 {main}

I should mention that I have enabled system cron for it and that the cronjob runs every five minutes. I

Googling, I haven’t found anything related. The server is an Ubuntu 20.04 server, with Nginx and PHP7.4-fpm

1 Like

Perhaps someone can compare to this issues:

Cannot use object of type stdClass as array in OC\Security\VerificationToken · Issue #29119 · nextcloud/server · GitHub
v22.2.0 Cron Error: Cannot use object of type stdClass as array · Issue #29024 · nextcloud/server · GitHub
Set associative = true for cleanup job by kesselb · Pull Request #29123 · nextcloud/server · GitHub