diff --git a/system/src/Grav/Common/Page/Page.php b/system/src/Grav/Common/Page/Page.php index 798034aa2..2f8ddb911 100644 --- a/system/src/Grav/Common/Page/Page.php +++ b/system/src/Grav/Common/Page/Page.php @@ -1264,7 +1264,7 @@ class Page if ($this->home()) { $paths = $uri->paths(); $home = ltrim($config->get('system.home.alias'), '/'); - if ($paths[0] == $home) { + if (isset($paths[0]) && $paths[0] == $home) { return true; } } else {