After update to Pimcore v6.0.3 with Symfony 3.4 and .env File the System doesn't work anymore.
Following error in the log:
PHP message: PHP Fatal error: Uncaught Error: Call to undefined method Symfony\\Component\\Dotenv\\Dotenv::loadEnv() in /var/www/pimcore/vendor/pimcore/pimcore/lib/Bootstrap.php:180
The loadEnv method exists only in Symfony >4.2
Damn, thanks for reporting - 6.0.4 is on it's way.
I've the same here :
Call to function method_exists() with 'Symfony\Component…' and 'bootEnv' will always evaluate to false.
Call to an undefined method SymfonyComponent\Dotenv\Dotenv::bootEnv().
symfony 4.4
@pierrealexaline please open a new ticket if you're having issues with Symfony 4.4.
Please also include a complete guide how to reproduce the issue.
Thanks!
There's no Dotenv::bootEnv() in Symfony 4.4, it was added in Symfony 5.1.
Also, Pimcore nowhere tries to call it.
Most helpful comment
Damn, thanks for reporting - 6.0.4 is on it's way.