schmunk42/yii2-giiant

Illegal string offset 'class'

larry-tx opened this issue · 2 comments

Latest update produces Illegal string offset 'class' in in l\vendor\schmunk42\yii2-giiant\src\helpers\SaveForm.php when attempting to create a Giiant Model.
image

cebe commented

it should check if $module is string or array. as a workaround, you can declare the module as array with class element instead of using just the class name.

I tried to fix this, but the dropdown still shows the wrong module. Since the web-UI is not actively supported, you need to specify a class element, like @cebe mentioned.