Skip to content
This repository has been archived by the owner on Jan 9, 2024. It is now read-only.

Getting Trait 'Illuminate\Console\DetectsApplicationNamespace' not found error #24

Closed
pwnz22 opened this issue Mar 13, 2017 · 2 comments

Comments

@pwnz22
Copy link

pwnz22 commented Mar 13, 2017

Getting Trait 'Illuminate\Console\DetectsApplicationNamespace' not found error when install and set the provider. After that i cant do the command php artisan vendor:publish. But if i comment the laravel-scout-mysql-driver provider the error is gone.

Laravel version is 5.3.18

@pwnz22
Copy link
Author

pwnz22 commented Mar 15, 2017

For Laravel 5.3 need to change use Illuminate\Console\DetectsApplicationNamespace; to use Illuminate\Console\AppNamespaceDetectorTrait;

@pwnz22 pwnz22 closed this as completed Mar 15, 2017
@DMeganoski
Copy link

Curious, why did you close this? It is still an issue. It is, in most cases, a bad idea to modify composer libraries, as changes can be overwritten with an update. And unless this is addressed, that is exactly what will happen.

I understand the developer does not have much time. I may be able to create a couple pull requests with new versions for 5.3 and 5.4.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants