Skip to content
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

Illegal string offset 'class' #222

Open
larry-tx opened this issue Feb 13, 2018 · 2 comments · May be fixed by #228
Open

Illegal string offset 'class' #222

larry-tx opened this issue Feb 13, 2018 · 2 comments · May be fixed by #228
Labels

Comments

@larry-tx
Copy link

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
Copy link
Contributor

cebe commented Apr 8, 2018

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.

@schmunk42
Copy link
Owner

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.

cebe added a commit to cebe/yii2-giiant that referenced this issue Apr 23, 2018
@cebe cebe linked a pull request Apr 23, 2018 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants