event can be null if parsing failed
Summary:
According to:
[01-Apr-2024 09:20:33 UTC] PHP Warning: Trying to access array offset on value of type null in /usr/share/roundcubemail/plugins/calendar/calendar.php on line 3648
Differential Revision: https://git.kolab.org/D4677