diff --git a/src/Providers/ChuckConfigServiceProvider.php b/src/Providers/ChuckConfigServiceProvider.php
index <HASH>..<HASH> 100644
--- a/src/Providers/ChuckConfigServiceProvider.php
+++ b/src/Providers/ChuckConfigServiceProvider.php
@@ -27,7 +27,12 @@ class ChuckConfigServiceProvider extends ServiceProvider
             'auth.providers.users.model' => \Chuckbe\Chuckcms\Models\User::class
         ]);
 
-        $site = Site::first();
+        if(Schema::hasTable('sites')){
+            $site = Site::first();
+        } else {
+            $site = null;
+        }
+        
         if($site !== null) {
             config([
                 // mcamara/laravel-localization
fix for ConfigServiceProvider giving error on new installations