Site crashes after running 'composer install' to update modules
Your composer.json probably has this in it (many do):
&quot;autoload&quot;: {
  &quot;files&quot;: [
    &quot;load.environment.php&quot;
  ]
}

But you don't have load.environment.php present in the file system.
Either remove the line from composer.json if you don't need to use dotenv, or add the file which typically contains something like this:
&lt;?php
/**
 * This file is included very early. See autoload.files in composer.json and
 * https://getcomposer.org/doc/04-schema.md#files
 */
use Dotenv\Dotenv;
use Dotenv\Exception\InvalidPathException;
/**
 * Load any .env file. See /.env.example.
 */
$dotenv = Dotenv::createImmutable(__DIR__);
$dotenv-&gt;safeLoad();