laravel-migrations-generator icon indicating copy to clipboard operation
laravel-migrations-generator copied to clipboard

Issue with Laravel 5.6

Open shahidkarimi opened this issue 1 year ago • 1 comments

When run generate command gives this error:

`Symfony\Component\Debug\Exception\FatalThrowableError : Argument 1 passed to KitLoong\MigrationsGenerator\Setting::setTableFilename() must be of the type string, null given, called in /home/my_project/vendor/kitloong/laravel-migrations-generator/src/MigrateGenerateCommand.php on line 144

at /home/my_project/vendor/kitloong/laravel-migrations-generator/src/Setting.php:170 166| 167| /** 168| * @param string $tableFilename 169| */

170| public function setTableFilename(string $tableFilename): void 171| { 172| $this->tableFilename = $tableFilename; 173| } 174|

Exception trace:

1 KitLoong\MigrationsGenerator\Setting::setTableFilename() /home/my_project/vendor/kitloong/laravel-migrations-generator/src/MigrateGenerateCommand.php:144

2 KitLoong\MigrationsGenerator\MigrateGenerateCommand::setup() /home/my_project/vendor/kitloong/laravel-migrations-generator/src/MigrateGenerateCommand.php:84

Please use the argument -v to see more details.`

shahidkarimi avatar Sep 19 '22 16:09 shahidkarimi

Hi @shahidkarimi Thanks for reporting the issue.

I am sorry for my late reply. I am currently away and will be available by the end of this month.

I will have a check this issue as soon as possible.

kitloong avatar Sep 21 '22 12:09 kitloong

Hi @shahidkarimi , could you please check #67 ?

If the above fail to resolve your issue, kindly provide your composer.json for investigation purpose.

kitloong avatar Sep 29 '22 14:09 kitloong

I will close this issue for now. Feel free to reopen this issue if you have more details to share.

kitloong avatar Oct 01 '22 14:10 kitloong