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

Trying to generate resources with wn:resources error #59

Open
Duxez opened this issue Apr 19, 2018 · 0 comments
Open

Trying to generate resources with wn:resources error #59

Duxez opened this issue Apr 19, 2018 · 0 comments

Comments

@Duxez
Copy link

Duxez commented Apr 19, 2018

Whenever I try to generate resources with wn:resources I'm getting this error:
Illegal string offset 'name'
I've tried searching on Google to see if I could find a solution that way, but I sadly couldn't find one.

The error comes from this file: ResourcesCommand.php line 95

Which says:

foreach($i['fields'] as $name => $value) {
            $value['name'] = $name;
            $fields[] = $this->serializeField($value);
}

But I do not understand what's wrong there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant