Kirby\Toolkit\Date::isBefore(): Argument #1 ($datetime) must be of type DateTimeInterface|string|int, null given, called in /Users/tobimori/Developer/sew-morlaix/site/plugins/retour/src/Retour/Timespan.php on line 30 is shown when going to /panel/retour/redirects
foreach() argument must be of type array|object, bool given is also shown when I go to /panel or /panel/login (the redirect doesn't work)
Kirby version: 4.0-alpha.7
I use the intl date handler if that makes a difference.
Describe the bug
Kirby\Toolkit\Date::isBefore(): Argument #1 ($datetime) must be of type DateTimeInterface|string|int, null given, called in /Users/tobimori/Developer/sew-morlaix/site/plugins/retour/src/Retour/Timespan.php on line 30
is shown when going to/panel/retour/redirects
foreach() argument must be of type array|object, bool given
is also shown when I go to/panel
or/panel/login
(the redirect doesn't work)intl
date handler if that makes a difference.