have the same issue
PHP Fatal error: Trait 'Illuminate\Console\DetectsApplicationNamespace' not found
I upgrade from Lavarel 6 to 7 and now I get this error:
Illuminate\Foundation\ComposerScripts::postAutoloadDump @php artisan package:discover --ansi PHP Fatal error: Trait 'Illuminate\Console\DetectsApplicationNamespace' not found in /home/development/oeqdev/vendor/laravel/telescope/src/Console/InstallCommand.php on line 11
Symfony\Component\ErrorHandler\Error\FatalError
Trait 'Illuminate\Console\DetectsApplicationNamespace' not found
at vendor/laravel/telescope/src/Console/InstallCommand.php:11 7| use Illuminate\Support\Str; 8| 9| class InstallCommand extends Command 10| {
11| use DetectsApplicationNamespace; 12| 13| /** 14| * The name and signature of the console command. 15| *
Whoops\Exception\ErrorException
Trait 'Illuminate\Console\DetectsApplicationNamespace' not found
at vendor/laravel/telescope/src/Console/InstallCommand.php:11 7| use Illuminate\Support\Str; 8| 9| class InstallCommand extends Command 10| {
11| use DetectsApplicationNamespace; 12| 13| /** 14| * The name and signature of the console command. 15| *
+1 vendor frames
2 [internal]:0 Whoops\Run::handleShutdown() Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 25
Does anyone have any idea how I fix this?
Please or to participate in this conversation.