You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I've used this command with Laravel 5.1 and It works very well. Now I'd like to use it with Laravel 5.2 but when I try to generate the scaffold's views I get the Error "Undefined variable: fields".
But I've also find the solution:
in file ScaffoldGenerator.php at row 255 I've changed
return new FieldsDumper($fields);
to
return new FieldsDumper($this->console->option('fields'));
and now it works.
I hope this can be usefull for you.
The text was updated successfully, but these errors were encountered:
Hi,
I've used this command with Laravel 5.1 and It works very well. Now I'd like to use it with Laravel 5.2 but when I try to generate the scaffold's views I get the Error "Undefined variable: fields".
But I've also find the solution:
in file ScaffoldGenerator.php at row 255 I've changed
return new FieldsDumper($fields);
to
return new FieldsDumper($this->console->option('fields'));
and now it works.
I hope this can be usefull for you.
The text was updated successfully, but these errors were encountered: