By GreezeLee on Monday, 20 April 2020
Replies 1
Likes 0
Views 557
Votes 0
If I delete a repeat of a repeated event, I get the following error:
 Argument 2 passed to Joomla\CMS\Application\BaseApplication::triggerEvent() must be of the type array or null, int given, called in .../administrator/components/com_jevents/controllers/icalrepeat.php on line 848

There is the following line:
$res = JFactory::getApplication()->triggerEvent('onDeleteEventRepeat', $id);
$id is an integer. The api expects an array (https://api.joomla.org/cms-3/classes/Joomla.CMS.Application.BaseApplication.html).

Installed versions:
Joomla: 3.9.16
Jevents: 3.4.54 Stable
Hello,

Thanks, please set Joomla! Error reporting to simple or none in the mean time. We have updated this for the next release it should be:
$res = JFactory::getApplication()->triggerEvent('onDeleteEventRepeat', array($id));


Many thanks
Tony
·
4 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post