So after uploading the site to production, I am getting now this error when I try to work locally. Is there anything I should know before moving the site to production?

Here's what I get when I try to access the localhost:

ErrorException in GlobalsDriver.php line 36: Undefined index: extension in GlobalsDriver.php line 36 at HandleExceptions->handleError('8', 'Undefined index: extension', '/Users/jr/Desktop/escapadesenparella/statamic/core/Stache/Drivers/GlobalsDriver.php', '36', array('file' => array('type' => 'file', 'path' => 'globals/Icon ', 'timestamp' => '1549235654', 'size' => '0', 'dirname' => 'globals', 'basename' => 'Icon ', 'filename' => 'Icon '))) in GlobalsDriver.php line 36 at GlobalsDriver->isMatchingFile(array('type' => 'file', 'path' => 'globals/Icon ', 'timestamp' => '1549235654', 'size' => '0', 'dirname' => 'globals', 'basename' => 'Icon ', 'filename' => 'Icon ')) in Traverser.php line 108 at Traverser->Statamic\Stache{closure}(array('type' => 'file', 'path' => 'globals/Icon ', 'timestamp' => '1549235654', 'size' => '0', 'dirname' => 'globals', 'basename' => 'Icon ', 'filename' => 'Icon ')) at array_filter(array(array('type' => 'file', 'path' => 'globals/global.yaml', 'timestamp' => '1539102707', 'size' => '193', 'dirname' => 'globals', 'basename' => 'global.yaml', 'extension' => 'yaml', 'filename' => 'global'), array('type' => 'file', 'path' => 'globals/Icon ', 'timestamp' => '1549235654', 'size' => '0', 'dirname' => 'globals', 'basename' => 'Icon ', 'filename' => 'Icon ')), object(Closure)) in Collection.php line 202 at Collection->filter(object(Closure)) in Traverser.php line 109 at Traverser->setAllFiles() in Traverser.php line 57 at Traverser->traverse() in UpdateManager.php line 120 at UpdateManager->createTraverser(object(GlobalsDriver)) in UpdateManager.php line 53 at UpdateManager->Statamic\Stache{closure}(object(GlobalsDriver), 'globals') in Collection.php line 135 at Collection->each(object(Closure)) in UpdateManager.php line 68 at UpdateManager->update() in Manager.php line 88 at Manager->doUpdate() in Manager.php line 77 at Manager->update() in StacheServiceProvider.php line 173 at StacheServiceProvider->boot(object(Request)) at call_user_func_array(array(object(StacheServiceProvider), 'boot'), array(object(Request))) in Container.php line 507 at Container->call(array(object(StacheServiceProvider), 'boot')) in Application.php line 734 at Application->bootProvider(object(StacheServiceProvider)) in Application.php line 717 at Application->Illuminate\Foundation{closure}(object(StacheServiceProvider), '28') at array_walk(array(object(EventServiceProvider), object(RoutingServiceProvider), object(AuthServiceProvider), object(ControllerServiceProvider), object(CookieServiceProvider), object(DatabaseServiceProvider), object(EncryptionServiceProvider), object(FilesystemServiceProvider), object(FormRequestServiceProvider), object(FoundationServiceProvider), object(PaginationServiceProvider), object(SessionServiceProvider), object(ValidationServiceProvider), object(ViewServiceProvider), object(AppServiceProvider), object(CollectionsServiceProvider), object(ServiceProvider), object(DataServiceProvider), object(FilesystemServiceProvider), object(EventServiceProvider), object(RouteServiceProvider), object(BladeServiceProvider), object(SeoProServiceProvider), object(AddonServiceProvider), object(EmailServiceProvider), object(ValidationServiceProvider), object(ServiceProvider), object(CacheServiceProvider), object(StacheServiceProvider), object(GlideServiceProvider), object(ServiceProvider), object(TranslationServiceProvider)), object(Closure)) in Application.php line 718 at Application->boot() in BootProviders.php line 17 at BootProviders->bootstrap(object(Application)) in Application.php line 203 at Application->bootstrapWith(array('Illuminate\Foundation\Bootstrap\DetectEnvironment', 'Illuminate\Foundation\Bootstrap\LoadConfiguration', 'Statamic\Bootstrap\UpdateConfiguration', 'Illuminate\Foundation\Bootstrap\ConfigureLogging', 'Illuminate\Foundation\Bootstrap\HandleExceptions', 'Illuminate\Foundation\Bootstrap\RegisterFacades', 'Illuminate\Foundation\Bootstrap\RegisterProviders', 'Illuminate\Foundation\Bootstrap\BootProviders')) in Kernel.php line 222 at Kernel->bootstrap() in Kernel.php line 117 at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 87 at Kernel->handle(object(Request)) in index.php line 155