diff --git a/src/Managers/Theme.php b/src/Managers/Theme.php index 57f1e85..c12cfc6 100755 --- a/src/Managers/Theme.php +++ b/src/Managers/Theme.php @@ -212,7 +212,7 @@ public function getFullPath($path) $assetPath = $this->config['theme.folders.assets'].DIRECTORY_SEPARATOR; $fullPath = $themePath.$assetPath.$path; - if (!file_exists($fullPath) && $themeInfo->has('parent') && !empty($themeInfo->get('parent'))) { + if (isset($themeInfo) && !file_exists($fullPath) && $themeInfo->has('parent') && !empty($themeInfo->get('parent'))) { $themePath = str_replace(base_path().DIRECTORY_SEPARATOR, '', $this->getThemeInfo($themeInfo->get('parent'))->get('path')).DIRECTORY_SEPARATOR; $fullPath = $themePath.$assetPath.$path;