I have code which calls:
$iterator = $recur_field->first()->getHelper()
$iterator->rewind();
This causes this crash:
Error: Call to undefined method RRule\RSet::rewind() in Drupal\date_recur\Rl\RlHelper->rewind() (line 252 of modules/contrib/date_recur/src/Rl/RlHelper.php).
Drupal\date_recur\DateRecurHelper->rewind() (Line: 90)
The Iterator interface was removed from rlanvin/php-rrule's RSet class in commit 5a23f0e03b53a23d2190cf1f8f905f8118a3296c:
commit 5a23f0e03b53a23d2190cf1f8f905f8118a3296c
Author: rlanvin <remi@cloudconnected.fr>
Date: Fri Oct 4 22:57:28 2019 +0100
Remove Iterator interface implementation from RSet
Was replaced by IteratorAggregate interface in v2.0
[[Remove this:] Replace β with β where applicable]
Active
3.5
Code