diff --git a/src/Theme/Provider.php b/src/Theme/Provider.php index 221d22f8f..d0de7d50e 100644 --- a/src/Theme/Provider.php +++ b/src/Theme/Provider.php @@ -32,7 +32,7 @@ public function boot() $dbConnectError = true; } - if (false === $dbConnectError) { + if (false === $dbConnectError && Schema::hasTable('configurations')) { $repository = $this->app->get(ConfigurationInterface::class); $activeTheme = $repository->getValueByKey('active_theme_identifier'); }