Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP Fatal error: Uncaught TypeError: Argument 1 passed to Dotenv\Dotenv::create() #1

Open
max-sparker opened this issue May 22, 2020 · 1 comment

Comments

@max-sparker
Copy link

Здравствуйте! При попытке выполнить

vendor/bin/extas i

Возникает ошибка:

PHP Fatal error: Uncaught TypeError: Argument 1 passed to Dotenv\Dotenv::create() must be an instance of Dotenv\Repository\RepositoryInterface, string given, called in /.../extas-alice-example/vendor/jeyroik/extas-installer/src/bin/extas on line 6 and defined in /.../extas-alice-example/vendor/vlucas/phpdotenv/src/Dotenv.php:62
Stack trace:
#0 /.../extas-alice-example/vendor/jeyroik/extas-installer/src/bin/extas(6): Dotenv\Dotenv::create('/...')
#1 {main}
thrown in /.../extas-alice-example/vendor/vlucas/phpdotenv/src/Dotenv.php on line 62

MongoDB version v3.6.3

Подскажите пожалуйста, что может быть?

@dmitryskachkov90
Copy link

"vlucas/phpdotenv" : "3.4.*"
попробуйте добавить в composer.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants