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

Fix Class Butschster\Head\Console\ServiceProvider not found for L11 #68

Merged
merged 1 commit into from
Jun 28, 2024

Conversation

jadenjoy
Copy link
Contributor

The line ServiceProvider::addProviderToBootstrapFile("{$namespace}\\Providers\\MetaTagsServiceProvider"); tries to find ServiceProvider in the namespace Butschster\Head\Console, which causes an error "Class "Butschster\Head\Console\ServiceProvider" not found
in Laravel 11. Added use Illuminate\Support\ServiceProvider; to the file. Fix tested on Laravel 11 and Laravel 10.

@butschster butschster added the bug Something isn't working label Jun 28, 2024
@butschster butschster merged commit 4481137 into butschster:3.x Jun 28, 2024
3 checks passed
@butschster
Copy link
Owner

@jadenjoy Thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants