Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Skip error fix https://github.com/firefly-iii/firefly-iii/issues/3559
James Cole8219b51e47ec
diff --git a/app/Support/System/GeneratesInstallationId.php b/app/Support/System/GeneratesInstallationId.phpindex 64314cd57c..15ea57d3e7 100644--- a/app/Support/System/GeneratesInstallationId.php+++ b/app/Support/System/GeneratesInstallationId.php@@ -24,6 +24,7 @@ declare(strict_types=1);namespace FireflyIII\Support\System;+use FireflyIII\Exceptions\FireflyException;use Log;use Ramsey\Uuid\Uuid;@@ -37,7 +38,12 @@ trait GeneratesInstallationId*/protected function generateInstallationId(): void{+ try {$config = app('fireflyconfig')->get('installation_id', null);+ } catch(FireflyException $e) {+ Log::info('Could not create or generate installation ID. Do not continue.');+ return;+ }// delete if wrong UUID:if (null !== $config && 'b2c27d92-be90-5c10-8589-005df5b314e6' === $config->data) {