Sometimes I get this error in Laravel, when running the
composer update command:
[Symfony\Component\Debug\Exception\FatalErrorException] Call to undefined method Illuminate\Foundation\Application::getCachedCompilePath() Script php artisan clear-compiled handling the post-update-cmd event returned with an error
I think this error comes if I have changed the destination of the Laravel install (changed foldername or something like that).
But it can be solved by deleting
vendor/compiled.php, and then run the
composer update command again.
In some cases, you also need to delete
Solution found here: http://laravel.io/forum/03-24-2015-call-to-undefined-method-illuminatefoundationapplicationgetcachedcompilepath