accessibility-exchange / platform

The Accessibility Exchange platform.
https://github.com/orgs/accessibility-exchange/projects/2/views/8
BSD 3-Clause "New" or "Revised" License
4 stars 10 forks source link

Tried loading settings 'App\Settings\GeneralSettings', and following properties were missing: ac_app... #1985

Open jobara opened 8 months ago

jobara commented 8 months ago

Spatie\LaravelSettings\Exceptions\MissingSettings

Tried loading settings 'App\Settings\GeneralSettings', and following properties were missing: ac_application, cc_application

:dart: Spatie\LaravelSettings\Exceptions\MissingSettings::create :page_facing_up: /vendor/spatie/laravel-settings/src/Exceptions/MissingSettings.php

11      $missing = implode(', ', $missingProperties);
12   
13*     return new self("Tried {$operation} settings '{$settingsClass}', and following properties were missing: {$missing}");
14  }
15   }

Open in Flare

jobara commented 8 months ago

Based on the time of the issues being reported, it looks to be happening with the database reset in dev. It looks like something is checking the settings before the migrations have all been run. The default values for the settings are in their migrations.

flare-error-tracker[bot] commented 8 months ago

Issue was linked with Flare error: Cannot assign array to property App\Settings\GeneralSettings::$individual_orientation of type string