distantnative / retour-for-kirby

Kirby CMS plugin to manage redirects and track 404s right from the Panel
https://distantnative.com/retour-for-kirby/
MIT License
135 stars 15 forks source link

[5.0-beta.1] Several errors on a fresh installation #321

Closed tobimori closed 1 year ago

tobimori commented 1 year ago

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)

distantnative commented 1 year ago

Issue 1 is solved.

Issue 2 I see as well but not quite sure where it originates.

tobimori commented 1 year ago

fixed with 5.0.0-beta.2