PHP Cron - Error: Cannot use object of type stdClass as array

Nextcloud version: 22.2.0
OS: Ubuntu 20.04
Nginx 1.18 with PHP 7.4

I’ve been having this error populate my server logs for a while now, I don’t really know how to fix it, so Im posting it here.

Log appears every hour plus/minus 5 minutes, alternating the times.
Every log entry is exactly the same:

Error cron Error: Cannot use object of type stdClass as array
    /var/www/html/nextcloud/lib/private/BackgroundJob/JobList.php - line 278:
    OC\Security\VerificationToken\CleanUpJob->setArgument()
    
    /var/www/html/nextcloud/lib/private/BackgroundJob/JobList.php - line 213:
    OC\BackgroundJob\JobList->buildJob()
    
    /var/www/html/nextcloud/cron.php - line 121:
    OC\BackgroundJob\JobList->getNext()

I believe this is triggered by the system cron (I use cron as my updater). Here is the syslog message from the exact time the log above shows up:

CRON[1017994]: (www-data) CMD (php -f /var/www/html/nextcloud/cron.php --define apc.enable_cli=1)

As a user, I cannot see any consequences to this error in the GUI (everything updates fine), but the less errors the better.

Let me know if any more information is needed.