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

Illuminate\View\ViewServiceProvider is instantiated twice #374

Closed
stefanfisk opened this issue May 6, 2024 · 0 comments · Fixed by #385
Closed

Illuminate\View\ViewServiceProvider is instantiated twice #374

stefanfisk opened this issue May 6, 2024 · 0 comments · Fixed by #385
Labels
bug Something isn't working

Comments

@stefanfisk
Copy link
Contributor

Version

4.2.2

What did you expect to happen?

I'd expect Illuminate\View\ViewServiceProvider to only be instantiated/registered/booted once as a subclass of Roots\Acorn\View\ViewServiceProvider.

What actually happens?

Both lluminate\View\ViewServiceProvider and Roots\Acorn\View\ViewServiceProvider are instantiated.

Steps to reproduce

  1. Set a breakpoint in Illuminate\View\ViewServiceProvider::register()
  2. Boot Acorn
  3. Watch the breakpoint trigger twice

System info

Pop!_OS 22.04 LTS

Log output

No response

Please confirm this isn't a support request.

Yes

@stefanfisk stefanfisk added the bug Something isn't working label May 6, 2024
Log1x added a commit that referenced this issue Jul 16, 2024
🩹 Fix replacing default providers (Fixes #375)
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 a pull request may close this issue.

1 participant