× {{alert.msg}} Never ask again
Get notified about new tutorials RECEIVE NEW TUTORIALS

Call to undefined method Illuminate\Foundation\Application::getCachedCompilePath...

Valentin Prugnaud
Apr 16, 2015
<p>After updating a dependency on your local environment, you push your code to Laravel Forge or other web server and you got this weird error: </p> <p><code>Call to undefined method Illuminate\Foundation\Application::getCachedCompilePath...</code></p> <p>To fix this problem, simply SSH to your server and make sure to delete these files:</p> <ul> <li><code>vendor/compiled.php</code></li> <li><code>storage/framework/compiled.php</code></li> </ul> Run <code>composer install</code> or <code>php artisan clear-compiled</code> on your server to make sure the error is solved.

Get New Tutorials Delivered to Your Inbox

New tutorials will be sent to your Inbox once a week.

comments powered by Disqus