Patrick29
  Patrick29
Silver Member
  Monday, 20 April 2020
  3 Replies
  1.1K Visits
0
Votes
Undo
If I want to delete a repeat or event in the frontend or backend:

Argument 2 passed to Joomla\CMS\Application\BaseApplication::triggerEvent() must be of the type array or null, integer given, called in /www/htdocs/..../administrator/components/com_jevents/controllers/icalrepeat.php on line 848
Monday, 20 April 2020 23:16
·
#215907
Accepted Answer
0
Votes
Undo
Please change that line to:

$res = JFactory::getApplication()->triggerEvent('onDeleteEventRepeat', array($id));

I'll check with Geraint how this did not make it in to 3.4.54.

Many thanks
Tony
Monday, 20 April 2020 23:16
·
#215907
Accepted Answer
0
Votes
Undo
Please change that line to:

$res = JFactory::getApplication()->triggerEvent('onDeleteEventRepeat', array($id));

I'll check with Geraint how this did not make it in to 3.4.54.

Many thanks
Tony
Tuesday, 21 April 2020 18:04
·
#215931
0
Votes
Undo
Thanks, now it works again
Friday, 12 February 2021 09:47
·
#220643
0
Votes
Undo
Any update on why it is so hard to delete events in jevents? This has been a problem for years it seems. Updated to php 7.2, joomla 3.9, jevents 3.6.12 - but can not delete an event? I can unpublish them but not delete them?
  • Page :
  • 1
There are no replies made for this post yet.