The DotEnv::getEnv() changes made an undetected bug in index.php because of missing parentheses.
DotEnv::getEnv()