Skip to content
New issue

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

Broken artisan optimize in Laravel 5.1 #61

Closed
fgreinus opened this issue Feb 13, 2017 · 2 comments
Closed

Broken artisan optimize in Laravel 5.1 #61

fgreinus opened this issue Feb 13, 2017 · 2 comments

Comments

@fgreinus
Copy link

fgreinus commented Feb 13, 2017

Hey guys,

i was having problems with the php artisan optimize command building bad compiled.php file.

Error when using laravel with the compiled.php generated is:
PHP Fatal error: Cannot declare interface Illuminate\Contracts\Container\Container, because the name is already in use in /Users/fgreinus/Web/paladalo/bootstrap/cache/compiled.php on line 4

Do you got any suggestions on how to fix this?

Additionally:
This also happens on a clean laravel 5.1 installation with only firewall installed.

@RobertBoes
Copy link

The issue seems to be caused by support, see antonioribeiro/support#13

@antonioribeiro
Copy link
Owner

Should be fixed in pragmarx/support 0.6.16.

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

No branches or pull requests

3 participants