Monday, 20 April 2020
  1 Replies
  554 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.

Members Area

Show your support

Unlike many Joomla calendars we do not charge to download JEvents - please show your support for this project by becoming a member of the JEvents Club Club members get access to early releases, exclusive member support forums, and Silver and Gold members can use many exciting JEvents addons

Your membership will ensure that JEvents continues to be the best events calendar for Joomla.