Fatal error: Uncaught exception 'Exception' with message 'DatePeriod::__construct(): This constructor accepts either (DateTimeInterface, DateInterval, int) OR (DateTimeInterface, DateInterval, DateTime) OR (string) as arguments.' in /in/2aDp3:8
Stack trace:
#0 /in/2aDp3(8): DatePeriod->__construct(Object(DateTimeImmutable), Object(DateInterval), Object(DateTimeImmutable))
#1 {main}
thrown in /in/2aDp3 on line 8
Process exited with code 255.