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

[5.x] Fix addon service provider autoloading #11285

Merged
merged 1 commit into from
Dec 19, 2024
Merged

[5.x] Fix addon service provider autoloading #11285

merged 1 commit into from
Dec 19, 2024

Conversation

jasonvarga
Copy link
Member

Fixes #11284

Service providers that come before statamic alphabetically were trying to access a binding that wasn't bound yet, which caused the error.

This PR changes to methods that will lazily bind the collections.

@jasonvarga jasonvarga merged commit 5f6df0f into 5.x Dec 19, 2024
20 checks passed
@jasonvarga jasonvarga deleted the fix-11284 branch December 19, 2024 00:23
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

Successfully merging this pull request may close these issues.

Upgrade to 5.43.2 errors with "Target class [statamic.booted-addons] does not exist."
1 participant