Closed oriceon closed 1 year ago
v0.1.9
10.25.0
8.2.10
Linux
Hi. After upgrading laravel from 10.24.0 to 10.25.0 witch has laravel/prompts v0.1.9, when i want to call a command from controller Artisan::call('app:set-version'); i get this error:
Artisan::call('app:set-version');
[2023-09-26 19:26:53] production.ERROR: Undefined constant "Illuminate\Console\Concerns\STDIN" {"userId":40009,"exception":"[object] (Error(code: 0): Undefined constant \"Illuminate\\Console\\Concerns\\STDIN\" at /home/crm/public_html/vendor/laravel/framework/src/Illuminate/Console/Concerns/ConfiguresPrompts.php:27) ....
Artisan::call('any-command')
Hey, thanks for reporting. I have a fix for this at https://github.com/laravel/framework/pull/48559 that will be released very soon.
Glad to see it's already fixed !
Laravel Prompts Version
v0.1.9
Laravel Version
10.25.0
PHP Version
8.2.10
Operating System & Version
Linux
Terminal Application
Linux
Description
Hi. After upgrading laravel from 10.24.0 to 10.25.0 witch has laravel/prompts v0.1.9, when i want to call a command from controller
Artisan::call('app:set-version');
i get this error:Steps To Reproduce
Artisan::call('any-command')