Closed sinan-evanshunt closed 6 years ago
Hi @sinan-evanshunt - this issue is caused by not having any widgets installed with this module.
This could probably be resolved by changing line 45 to $classes = ClassInfor::subclassesFor($widgetClass) ?: array();
How would you feel about raising a pull request to the 1.3
branch of this repository with the fix?
Oh, I see you already have raised a PR at #176
On 1.3. release (SilverStripe 3.) I get an error:
Wrapping the foreach with
if( isset($classes) )
fixes the issue for me. Not sure if this is the proper fix or if there is a deeper issue.