I've been trying to get a Twitter wrapper working for this website to display my latest tweets. During this my site suddenly crashed. Nothing showed up.
Scouring the internet I came across a post at https://laracasts.com/discuss/channels/laravel/error-on-composerphar-update-on-deployment-server. I followed danmatthews reply removing the folders inside vendor and also deleting the composer file and running the composer install command. I backed everything first with zip -r backup.zip public_html before performing the tasks. Thankfully it worked.
Here's the error I get -
Script php artisan clear-compiled handling the pre-update-cmd event returned with an error
[RuntimeException]
Error Output:
UPDATE:
You'll also need to check that there are no service providers in your config/app.php that you don't have the packages for.