Error message InvalidArgumentException: The UNTIL or COUNT rule parts MUST NOT occur in the same rule in RRule\RRule->__construct() (line 303 of vendor/rlanvin/php-rrule/src/RRule.php).
Steps to reproduce
Create an event with 10 occurences.
Click on the third of them, and select "Edit future"