Make sure your $compiledPath location is set correct, it was changed in the 5.0.16 release.
In your bootstrap/autoload.php file, update the $compiledPath variable to:
$compiledPath = DIR.'/../vendor/compiled.php';
I have installed Laravel on my localhost using the Laravel installer. When I run 'composer update' for the first time on this fresh installation, I get the following error:
[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
[RuntimeException]
Error Output:
What does this error mean? Does it need to be fixed? If it does need fixing, how can I do so?
Thanks.
@tmartinco I had this problem, removing the ./vendor/compiled.php file and running composer update again did the trick.
Please or to participate in this conversation.