Если так, то вот например.
1. WidgetFactory failed to create widget
2. Bla Bla Exception
3. WidgetFactory failed to create widget, because it must be initialized first. Add WidgetFactoryServiceProvider to configuration to fix it
4. Register WidgetFactoryServiceProvider in config, so WidgetFactory will initialize itself at application startup. You can see example of WidgetFactory configuration here: [link]