Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Dotenv with Symfony 3.4 doesn't work anymore #4692

@blankse

Description

@blankse

Bug Report

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions