Monday, 20 April 2020
  1 Replies
  557 Visits
0
Votes
Undo
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
4 years ago
·
#215905
0
Votes
Undo
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

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

  • Page :
  • 1
There are no replies made for this post yet.