# FIXED: Production deploy Dotenv must be an instance of RepositoryInterface error

**URL:** https://discourse.roots.io/t/fixed-production-deploy-dotenv-must-be-an-instance-of-repositoryinterface-error/17576
**Category:** trellis
**Created:** 2020-02-04T10:05:23Z
**Posts:** 4
**Showing post:** 3 of 4

## Post 3 by @TangRufus — 2020-02-04T10:36:11Z

Bedrock doesn’t support `vlucas/phpdotenv` v4 yet.

For those facing the same issue:

- run `$ composer require vlucas/phpdotenv:^3.6`
- keep an eye on [https://github.com/roots/bedrock/pull/485](https://github.com/roots/bedrock/pull/485)

---

_[View the full topic](https://discourse.roots.io/t/fixed-production-deploy-dotenv-must-be-an-instance-of-repositoryinterface-error/17576)._
