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

seeder中获取output失败。 #105

Open
augushong opened this issue Sep 20, 2023 · 0 comments
Open

seeder中获取output失败。 #105

augushong opened this issue Sep 20, 2023 · 0 comments

Comments

@augushong
Copy link

在tp8中,通过getOutput获取输出对象失败,在之前的版本可以正常获取到。

图片

  [TypeError]
  Phinx\Seed\AbstractSeed::getOutput(): Return value must be of type think\console\Output, null returned



Exception trace:
 () at C:\www\user_hub\vendor\topthink\think-migration\phinx\Seed\AbstractSeed.php:138
 Phinx\Seed\AbstractSeed->getOutput() at C:\www\user_hub\database\seeds\InitBaseAdminData.php:20
 InitBaseAdminData->run() at C:\www\user_hub\vendor\topthink\think-migration\src\command\seed\Run.php:96
 think\migration\command\seed\Run->executeSeed() at C:\www\user_hub\vendor\topthink\think-migration\src\command\seed\Run.php:67
 think\migration\command\seed\Run->seed() at C:\www\user_hub\vendor\topthink\think-migration\src\command\seed\Run.php:52
 think\migration\command\seed\Run->execute() at C:\www\user_hub\vendor\topthink\framework\src\think\console\Command.php:210
 think\console\Command->run() at C:\www\user_hub\vendor\topthink\framework\src\think\Console.php:649
 think\Console->doRunCommand() at C:\www\user_hub\vendor\topthink\framework\src\think\Console.php:308
 think\Console->doRun() at C:\www\user_hub\vendor\topthink\framework\src\think\Console.php:245
 think\Console->run() at C:\www\user_hub\think:12
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