Как решить, что «Illuminate\Console\Command» не найден? ⇐ Php
-
Гость
Как решить, что «Illuminate\Console\Command» не найден?
I have a web application in a production environment. The path to the command is correctly set on the server, but it still throws error "Illuminate\Console\Command" not found. Solutions tryied -> (composer dump-autoload, deleted vendor and reinstalled with composer install, php artisan optimize). Nothing works :/
Fatal error: Uncaught Error: Class "Illuminate\Console\Command" not found in app/Console/Commands/DeleteExpiredData.php:10 Stack trace: #0 {main} thrown in /app/Console/Commands/DeleteExpiredData.php on line 10
Illuminatie is available in vendor and correctly installed, I did try composer dump-autoload but it still doesn't work.
This is my command
Источник: https://stackoverflow.com/questions/780 ... -not-found
I have a web application in a production environment. The path to the command is correctly set on the server, but it still throws error "Illuminate\Console\Command" not found. Solutions tryied -> (composer dump-autoload, deleted vendor and reinstalled with composer install, php artisan optimize). Nothing works :/
Fatal error: Uncaught Error: Class "Illuminate\Console\Command" not found in app/Console/Commands/DeleteExpiredData.php:10 Stack trace: #0 {main} thrown in /app/Console/Commands/DeleteExpiredData.php on line 10
Illuminatie is available in vendor and correctly installed, I did try composer dump-autoload but it still doesn't work.
This is my command
Источник: https://stackoverflow.com/questions/780 ... -not-found
Мобильная версия