helpers
                                
                                
                                
                                    helpers copied to clipboard
                            
                            
                            
                        ArgumentCountError In MigrationCreator.php line 40 : Too few arguments to function Illuminate\Database\Migrations\MigrationCreator::__construct(), 1 passed in /var/www/azmanfarm/vendor/laravel-admin-ext/helpers/src/Controllers/ScaffoldController.php on line 65 and exactly 2 expected
Laravel Version: 7.4.0 PHP Version: PHP/7.2.24-0ubuntu0.18.04.3 Laravel-admin: 1.7.14
ArgumentCountError In MigrationCreator.php line 40 : Too few arguments to function Illuminate\Database\Migrations\MigrationCreator::__construct(), 1 passed in /var/www/azmanfarm/vendor/laravel-admin-ext/helpers/src/Controllers/ScaffoldController.php on line 65 and exactly 2 expected

@azaman2204 ScaffoldController.php in the Controller folder, change line 65 ,
new MigrationCreator(app('files'),null)
in Laravel 7 MigrationCreator have change the __construct function
@xavier-chen Thanks so much. I got pass thru scaffold and created as expected. But now when calling to display, I got the following error; FatalThrowableError In HasEvents.php line 261 : Type error: Too few arguments to function Illuminate\Database\Eloquent\Model::created(), 0 passed in /var/www/kfmv2/vendor/encore/laravel-admin/src/Grid.php on line 838 and exactly 1 expected
Much appreciated your insight as I'm not much familiar with the new changes in Laravel 7
https://github.com/laravel-admin-extensions/helpers/pull/30 @azaman2204