Closed Flamenco closed 3 years ago
Please test with latest rc.19 that was just released
@Flamenco Make sure you're calling this only after onThemeInitialized()
event; it will fix the issue.
That said, I kind of agree that looping through plugins should not cause this. Do you know which plugin has this issue?
I just checked your loop and it works in my sandbox test environment. It must be some plugin doing bad things too early.
version
Grav v1.7.0-rc.17 - Admin v1.10.0-rc.17
Here is the error
This should not bring down the whole stack.
Here is the code throwing the exception
Here is my client code. (called from plugins:initialized hook)