Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
As it's not compulsory to have an end time on events is would be good if there was a check in place to see if the field is empty so an error isn't thrown.
I've found changing FBAutopostEntityEvent.php to
if (!empty($publication['params']['end_time']) && is_numeric($publication['params']['end_time'])) {
$end = new DateTime('@' . $publication['params']['end_time']);
$publication['params']['end_time'] = $end->format(DateTime::ISO8601);
}
resolves this issue.
Comments
Comment #1
e0ipsoThis was fixed and committed to dev in 75a9099.
Thanks for contributing to the issue queue.