We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
command php artisan optimize:clear work fine but php artisan optimize:clear has error
php artisan optimize:clear
INFO Caching the framework bootstrap files. config .................................................................................................................................. 9ms FAIL ErrorException Cannot declare class App\User, because the name is already in use at vendor/venturedrake/laravel-crm/src/LaravelCrmServiceProvider.php:207 203▕ { 204▕ Paginator::useBootstrap(); 205▕ 206▕ if ((app()->version() >= 8 && class_exists('App\Models\User')) || (class_exists('App\Models\User') && ! class_exists('App\User'))) { ➜ 207▕ class_alias(config("auth.providers.users.model"), 'App\User'); 208▕ if (class_exists('App\Models\Team')) { 209▕ class_alias('App\Models\Team', 'App\Team'); 210▕ } 211▕ } +8 vendor frames 9 [internal]:0 Illuminate\Foundation\Application::Illuminate\Foundation\{closure}() +35 vendor frames 45 artisan:35 Illuminate\Foundation\Console\Kernel::handle()
php artisan optimize
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description:
command
php artisan optimize:clear
work fine butphp artisan optimize:clear
has errorSteps To Reproduce:
php artisan optimize:clear
php artisan optimize
The text was updated successfully, but these errors were encountered: