F
Filamentβ€’14mo ago
Gaspar

Upgrading from v2 > v3 throws "Fatal error"

laravel/framework v10.28.0
filament/filament v2.17.53
filament/forms v2.17.53
filament/notifications v2.17.53
filament/support v2.17.53
filament/tables v2.17.53
filament/upgrade v3.0.81
nunomaduro/collision v7.10.0
nunomaduro/termwind v1.15.1
laravel/framework v10.28.0
filament/filament v2.17.53
filament/forms v2.17.53
filament/notifications v2.17.53
filament/support v2.17.53
filament/tables v2.17.53
filament/upgrade v3.0.81
nunomaduro/collision v7.10.0
nunomaduro/termwind v1.15.1
run the script:
vendor/bin/filament-v3

Filament v3 Upgrade


Welcome to the Filament v3 upgrade process!
... (redacted ) ..

Are you ready to continue? y/n
Fatal error: Uncaught Symfony\Component\Console\Exception\MissingInputException: Aborted. in /app/vendor/symfony/console/Helper/QuestionHelper.php:139
Stack trace:
#0 /app/vendor/symfony/console/Helper/QuestionHelper.php(68): Symfony\Component\Console\Helper\QuestionHelper->doAsk(Object(Symfony\Component\Console\Output\StreamOutput), Object(Symfony\Component\Console\Question\Question))
#1 /app/vendor/nunomaduro/termwind/src/Question.php(87): Symfony\Component\Console\Helper\QuestionHelper->ask(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\StreamOutput), Object(Symfony\Component\Console\Question\Question))
#2 /app/vendor/nunomaduro/termwind/src/Functions.php(63): Termwind\Question->ask(Object(Symfony\Component\Console\Question\Question), NULL)
#3 /app/vendor/filament/upgrade/bin/filament-v3(46): Termwind\ask(' <span class...')
#4 /app/vendor/bin/filament-v3(119): include('/app/vendor/fil...')
#5 {main}
thrown in /app/vendor/symfony/console/Helper/QuestionHelper.php on line 139
vendor/bin/filament-v3

Filament v3 Upgrade


Welcome to the Filament v3 upgrade process!
... (redacted ) ..

Are you ready to continue? y/n
Fatal error: Uncaught Symfony\Component\Console\Exception\MissingInputException: Aborted. in /app/vendor/symfony/console/Helper/QuestionHelper.php:139
Stack trace:
#0 /app/vendor/symfony/console/Helper/QuestionHelper.php(68): Symfony\Component\Console\Helper\QuestionHelper->doAsk(Object(Symfony\Component\Console\Output\StreamOutput), Object(Symfony\Component\Console\Question\Question))
#1 /app/vendor/nunomaduro/termwind/src/Question.php(87): Symfony\Component\Console\Helper\QuestionHelper->ask(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\StreamOutput), Object(Symfony\Component\Console\Question\Question))
#2 /app/vendor/nunomaduro/termwind/src/Functions.php(63): Termwind\Question->ask(Object(Symfony\Component\Console\Question\Question), NULL)
#3 /app/vendor/filament/upgrade/bin/filament-v3(46): Termwind\ask(' <span class...')
#4 /app/vendor/bin/filament-v3(119): include('/app/vendor/fil...')
#5 {main}
thrown in /app/vendor/symfony/console/Helper/QuestionHelper.php on line 139
I can not even answer the question "Are you ready to continue?". It throws immediately "MissingInputException". Any idea what's wrong with Filament upgrade script?
Solution:
It seems that this particular error was generated by my local setup. PHP binary problem! Everything works well with fixed PHP. Problem "solved" πŸ™‚...
Jump to solution
3 Replies
LeandroFerreira
LeandroFerreiraβ€’14mo ago
could you share a copy (without resources, pages..) on github?
Gaspar
GasparOPβ€’14mo ago
DM sent.
Solution
Gaspar
Gasparβ€’14mo ago
It seems that this particular error was generated by my local setup. PHP binary problem! Everything works well with fixed PHP. Problem "solved" πŸ™‚
Want results from more Discord servers?
Add your server