Calendar 1.0.2 NixFifty_Calendar_Model_Event::validateRecurringEventOptions() must be an instance of DateTime

Server Error Log
Error Info
TypeError: Argument 2 passed to NixFifty_Calendar_Model_Event::validateRecurringEventOptions() must be an instance of DateTimeImmutable, boolean given, called in library/NixFifty/Calendar/ControllerPublic/Event.php on line 591 - library/NixFifty/Calendar/Model/Event.php:1324
Generated By: [user], Yesterday at 18:33
Stack Trace
#0 library/NixFifty/Calendar/ControllerPublic/Event.php(591): NixFifty_Calendar_Model_Event->validateRecurringEventOptions(Array, false, false)
#1 library/XenForo/FrontController.php(369): NixFifty_Calendar_ControllerPublic_Event->actionSave()
#2 library/XenForo/FrontController.php(152): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#3 index.php(13): XenForo_FrontController->run()
#4 {main}
Request State
array(3) {
["url"] => string(72) "/events/sydney-learner-sessions-sat-1pm.2247/save"
["_GET"] => array(1) {
["/events/sydney-learner-sessions-sat-1pm_2247/save"] => string(0) ""
}
["_POST"] => array(19) {
["event_title"] => string(33) "Sydney Learner Sessions - Sat 1pm"
["start_date"] => string(0) ""
["start_time"] => string(5) "13:00"
["end_date"] => string(0) ""
["end_time"] => string(0) ""
["is_recurring"] => string(2) "on"
["recurring_options"] => array(5) {
["interval"] => string(1) "1"
["unit"] => string(5) "weeks"
["weekdays"] => array(1) {
[0] => string(1) "6"
}
["end_type"] => string(4) "date"
["end_value_date"] => string(10) "2019-11-30"
}
["description_html"] => string(3964) "[...]"
["_xfRelativeResolver"] => string(72) "/events/sydney-learner-sessions-sat-1pm.2247/edit"
["event_location"] => string(45) "Sydney Olympic Park, Bennalong Pkwy, Homebush"
["event_timezone"] => string(16) "Australia/Sydney"
["request_rsvp"] => string(2) "on"
["rsvp_limit"] => string(9) "unlimited"
["attachment_hash"] => string(32) "ec05d[...]ba84"
["calendar_id"] => string(1) "5"
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(49) "/events/sydney-learner-sessions-sat-1pm.2247/edit"
["_xfNoRedirect"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
 
Thanks, an error is thrown when a user tries to submit the form without dates / times.
 
Back
Top