Subscribed unsubscribe Subscribe Subscribe

hasen's tech life

Twitter: @hasen

composer updateで"Trait 'Illuminate\Support\Traits\MacroableTrait' not found"というエラーが出たので対応.

PHP Laravel

# composer updateで"Trait 'Illuminate\Support\Traits\MacroableTrait' not found"というエラーが出たので対応.

# version
$ php artisan --version
> Laravel Framework version 4.1.31

# error
$ composer update
> [RuntimeException]
> Error Output: PHP Fatal error: Trait 'Illuminate\Support\Traits\MacroableTrait' not found in /Library/WebServer/Documents/Heroku/test_laravel/bootstrap/compiled.php on line 322

# success
$ rm -f bootstrap/compiled.php
$ composer update