diff --git a/system/src/Grav/Common/Page/Page.php b/system/src/Grav/Common/Page/Page.php index b3679bbdb..abb421078 100644 --- a/system/src/Grav/Common/Page/Page.php +++ b/system/src/Grav/Common/Page/Page.php @@ -2337,6 +2337,9 @@ class Page $results = $collection->addPage($this->parent()); break; case 'siblings': + if (!$this->parent()) { + return new Collection(); + } $results = $this->parent()->children()->remove($this->path()); break; case 'descendants':