No Code Attached Yet
avatar Eric69-dev
Eric69-dev
16 May 2025

Steps to reproduce the issue

1- have a scheduled task
2- Set the task notifications to on and choose usergroup Super Users (default)
3- Make sure "receive system emails" is on for all users in Super Users group
4- Trigger the task

Expected result

All users in Super Users group should receive the task notification

Actual result

No user in Super Users group receives any notification.
Cron logs returns error:

In TaskNotification.php line 284:
                                                                               
  Joomla\Plugin\System\TaskNotification\Extension\TaskNotification::sendMail(  
  ): Argument #4 ($groups) must be of type array, null given, called in /srv/  
  myjoomla/plugins/system/tasknotification/src/Extension/TaskNotification.p  
  hp on line 200

System information (as much as possible)

dbserver: mysql
dbversion: 10.11.11-MariaDB-0+deb12u1
dbcollation: utf8mb4_roman_ci
dbconnectioncollation: utf8mb4_general_ci
dbconnencryptsupported: false
phpversion: 8.2.28
server: Apache
sapi_name: fpm-fcgi
version: Joomla! 5.3.0 Stable [ Timu ] 15-April-2025 16:00 GMT
compatpluginenabled: true
compatpluginparameters:

Additional comments

Maybe related to #44604 ?

avatar Eric69-dev Eric69-dev - open - 16 May 2025
avatar joomla-cms-bot joomla-cms-bot - change - 16 May 2025
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 16 May 2025
avatar Eric69-dev Eric69-dev - change - 16 May 2025
The description was changed
avatar Eric69-dev Eric69-dev - edited - 16 May 2025
avatar alikon
alikon - comment - 16 May 2025

what task are you running ?

avatar Eric69-dev
Eric69-dev - comment - 19 May 2025

I'm running backup tasks (using Akeeba Backup in CLI mode).

avatar Eric69-dev
Eric69-dev - comment - 19 May 2025

Correction to my previous answer: The error occurs for any scheduled task.
Also, here's a public Akeeba Backup support ticket explaining the issue and a fix: https://www.akeeba.com/support/akeeba-backup/41922-cron-error-since-joomla-5-3.html#p227369

avatar brianteeman
brianteeman - comment - 22 May 2025

Can be closed as we have a PR #45497

avatar HLeithner HLeithner - change - 22 May 2025
Status New Closed
Closed_Date 0000-00-00 00:00:00 2025-05-22 10:54:26
Closed_By HLeithner
avatar HLeithner HLeithner - close - 22 May 2025

Add a Comment

Login with GitHub to post a comment