Sometimes the compiled file could get corrupted and not function properly, breaking your Laravel installation. This is a list of steps you could use trying to fix a Laravel installation that previously worked just fine on a server.
rm bootstrap/compiled.php
rm -rf vendor
composer update --no-dev