You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since the latest two updates (27.0.1 and 27.0.2) I get the following error when cron.php is called through a cron job:
ArgumentCountError: Too few arguments to function OCA\Collectives\BackgroundJob\ExpirePageTrash::__construct(), 0 passed in /home/www/maccloud/lib/private/BackgroundJob/JobList.php on line 322 and exactly 3 expected in /home/www/maccloud/apps/collectives/lib/BackgroundJob/ExpirePageTrash.php:18 Stack trace: #0 /home/www/maccloud/lib/private/BackgroundJob/JobList.php(322): OCA\Collectives\BackgroundJob\ExpirePageTrash->__construct() nextcloud/server#1 /home/www/maccloud/lib/private/BackgroundJob/JobList.php(227): OC\BackgroundJob\JobList->buildJob(Array) nextcloud/server#2 /home/www/maccloud/cron.php(145): OC\BackgroundJob\JobList->getNext(false) nextcloud/server#3 {main}
In the job list in the jobs table in my database I find the corresponding job with 0 given arguments as the error states correctly.
Bug description
Since the latest two updates (27.0.1 and 27.0.2) I get the following error when cron.php is called through a cron job:
ArgumentCountError: Too few arguments to function OCA\Collectives\BackgroundJob\ExpirePageTrash::__construct(), 0 passed in /home/www/maccloud/lib/private/BackgroundJob/JobList.php on line 322 and exactly 3 expected in /home/www/maccloud/apps/collectives/lib/BackgroundJob/ExpirePageTrash.php:18 Stack trace: #0 /home/www/maccloud/lib/private/BackgroundJob/JobList.php(322): OCA\Collectives\BackgroundJob\ExpirePageTrash->__construct() nextcloud/server#1 /home/www/maccloud/lib/private/BackgroundJob/JobList.php(227): OC\BackgroundJob\JobList->buildJob(Array) nextcloud/server#2 /home/www/maccloud/cron.php(145): OC\BackgroundJob\JobList->getNext(false) nextcloud/server#3 {main}
In the job list in the jobs table in my database I find the corresponding job with 0 given arguments as the error states correctly.
'nc_jobs' ('id', 'class', 'argument', 'last_run', 'last_checked', 'reserved_at', 'execution_duration', 'argument_hash', 'time_sensitive') : (5866, 'OCA\\Collectives\\BackgroundJob\\ExpirePageTrash', 'null', 0, 1691718366, 1691718366, 0, '37a6259cc0c1dae299a7866489dff0bd', 1),
Steps to reproduce
Expected behavior
No job errors when cron.php is being executed
Installation method
Community Web installer on a VPS or web space
Nextcloud Server version
25
Operating system
None
PHP engine version
PHP 8.1
Web server
None
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Updated from a MINOR version (ex. 22.1 to 22.2)
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
No response
Nextcloud Logs
No response
Additional info
No response
The text was updated successfully, but these errors were encountered: