diff --git a/app/Jobs/Company/CreateCompany.php b/app/Jobs/Company/CreateCompany.php index f288b1b9f52f..ee5a42644d32 100644 --- a/app/Jobs/Company/CreateCompany.php +++ b/app/Jobs/Company/CreateCompany.php @@ -202,7 +202,7 @@ class CreateCompany } catch(\Exception $e){ - nlog("SETUP: could not complete setup for Spanish Locale"); + nlog("SETUP: could not complete setup for Australian Locale"); } $company->save(); diff --git a/app/Models/User.php b/app/Models/User.php index aa578900d31d..da37482dbb94 100644 --- a/app/Models/User.php +++ b/app/Models/User.php @@ -178,7 +178,7 @@ class User extends Authenticatable implements MustVerifyEmail protected $dateFormat = 'Y-m-d H:i:s.u'; - public Company $company; + public ?Company $company = null; protected $appends = [ 'hashed_id',