morrislaptop / laravel-seed-list

Make db:seed interactive
https://github.com/morrislaptop/laravel-seed-list
MIT License
31 stars 0 forks source link

Seed Error Laravel 9 PHP 8.1 #14

Open gaztum opened 1 year ago

gaztum commented 1 year ago

$ php artisan db:seed

INFO Seeding database.

PHP Fatal error: Class Uzbek\ClassTools\Name contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Stringable::__toString) in /vendor/uzbek/classtools/src/Name.php on line 21

Symfony\Component\ErrorHandler\Error\FatalError

Class Uzbek\ClassTools\Name contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Stringable::__toString)

at vendor/uzbek/classtools/src/Name.php:21 17▕ Internal name representation 18▕ 19▕ @author Hannes Forsgård hannes.forsgard@fripost.org 20▕ / ➜ 21▕ final class Name implements \Stringable 22▕ { 23▕ /* 24▕ @var string[] Name components 25▕ */

Whoops\Exception\ErrorException

Class Uzbek\ClassTools\Name contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Stringable::__toString)

at vendor/uzbek/classtools/src/Name.php:21 17▕ Internal name representation 18▕ 19▕ @author Hannes Forsgård hannes.forsgard@fripost.org 20▕ / ➜ 21▕ final class Name implements \Stringable 22▕ { 23▕ /* 24▕ @var string[] Name components 25▕ */

  +1 vendor frames 

2 [internal]:0 Whoops\Run::handleShutdown()

morrislaptop commented 1 year ago

Do you have composer 2 installed? And allowed plugins to write to disk?

On Tue, 10 Jan 2023 at 20:26, Gastón García @.***> wrote:

$ php artisan db:seed

INFO Seeding database.

PHP Fatal error: Class Uzbek\ClassTools\Name contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Stringable::__toString) in /vendor/uzbek/classtools/src/Name.php on line 21

Symfony\Component\ErrorHandler\Error\FatalError

Class Uzbek\ClassTools\Name contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Stringable::__toString)

at vendor/uzbek/classtools/src/Name.php:21 17▕ Internal name representation 18▕ 19▕ * @author https://github.com/author Hannes Forsgård @.*** 20▕

*/ ➜ 21▕ final class Name implements \Stringable 22▕ { 23▕ /* 24▕ @var https://github.com/var string[] Name components 25▕ */

Whoops\Exception\ErrorException

Class Uzbek\ClassTools\Name contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Stringable::__toString)

at vendor/uzbek/classtools/src/Name.php:21 17▕ Internal name representation 18▕ 19▕ * @author https://github.com/author Hannes Forsgård @.*** 20▕

*/ ➜ 21▕ final class Name implements \Stringable 22▕ { 23▕ /* 24▕ @var https://github.com/var string[] Name components 25▕ */

+1 vendor frames

2 [internal]:0 Whoops\Run::handleShutdown()

— Reply to this email directly, view it on GitHub https://github.com/morrislaptop/laravel-seed-list/issues/14, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAQRX7BWH6FX4TGYYRWEATWRXAX3ANCNFSM6AAAAAATXHMBAI . You are receiving this because you are subscribed to this thread.Message ID: @.***>