-
Notifications
You must be signed in to change notification settings - Fork 3
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
[Craft 4] Investigate why auto-bootstrapping is initializing twice. #54
Comments
Y'all ever figure this one out? Noticed this as well on some inherited work. |
Hey @matthisamoto! We did resolve this issue. In our case, we had both the bootstrap() and init() method. The solution was to remove the Commit: 4a1d3a5 |
@joshuapease Awesome, yeah I went looking because I was seeing most noticeably in how Sections or Fields appears twice in the CPNav, and I found that not explicitly loading it in That said I don't know that that's the same problem described in this issue, and something you all probably figured out a while back! |
Was just about to comment about that scenario as well! This particular issue was happening for new installs. But you're correct, older versions required that you manually bootstrap the module in Here's some old docs talking about both of those ways of initializing the module. Both can be removed with the Craft 4 version of the base module (since it bootstraps automatically now) |
No description provided.
The text was updated successfully, but these errors were encountered: