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

calling migrator's update method throws an error #245

Closed
chosww opened this issue Nov 17, 2023 · 1 comment
Closed

calling migrator's update method throws an error #245

chosww opened this issue Nov 17, 2023 · 1 comment

Comments

@chosww
Copy link

chosww commented Nov 17, 2023

When I use migrator's update method, I get an error saying that "Class "GeneralSettings" not found" from vendor/spatie/laravel-settings/src/Migrations/SettingsMigrator.php:188. The error message suggest importing the GeneralSettings class: "A class import is missing: You have a missing class import. Try importing this class: App\Settings\GeneralSettings".

@rubenvanassche
Copy link
Member

Try clearing your caches also the specific settings caches.

I'm gonna close this one since this does't seem like a problem with the package, if you think this is the case, feel free to comment.

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