Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated to php8 #15

Closed
TheFogOfWar1 opened this issue Dec 11, 2020 · 2 comments
Closed

updated to php8 #15

TheFogOfWar1 opened this issue Dec 11, 2020 · 2 comments

Comments

@TheFogOfWar1
Copy link

TypeError

Spatie\LaravelSettings\Support\DiscoverSettings::within(): Argument #1 ($directories) must be of type array, null given, called in /Users/wvdm/beyond-solutions/beyondselection/vendor/spatie/laravel-settings/src/SettingsContainer.php on line 49

at vendor/spatie/laravel-settings/src/Support/DiscoverSettings.php:25
21▕ {
22▕ $this->basePath = app()->path();
23▕ }
24▕
➜ 25▕ public function within(array $directories): self
26▕ {
27▕ $this->directories = $directories;
28▕
29▕ return $this;

@jinalsomaiya10
Copy link

@TheFogOfWar1 try with deleting all files from bootstrap/cache directory except .gitignore file.

@TheFogOfWar1
Copy link
Author

Thanks, this did the job!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants