# Newb: Error: Call to undefined method Dotenv\Dotenv::createImmutable()

**URL:** https://discourse.roots.io/t/newb-error-call-to-undefined-method-dotenv-dotenv-createimmutable/18774
**Category:** bedrock
**Tags:** composer
**Created:** 2020-07-25T20:17:09Z
**Posts:** 3

## Post 1 by @RL22 — 2020-07-25T20:17:10Z

I have just started with bedrock/composer. I am using it with Local by Flywheel on a WordPress website. I have installed some plugins via composer and when I go to the website I get the fatal error:

![Screen Shot 2020-07-25 at 12.25.45 PM](https://discourse.roots.io/uploads/default/original/2X/7/72369871fba9c07921b7e579ee621624fae41f76.png)

 ![Screen Shot 2020-07-25 at 12.25.22 PM](https://discourse.roots.io/uploads/default/original/2X/e/ea5424817617b295ee4840f9a7b646e1e744d29a.png)

In my “error.log” file I see  
2020/07/22 04:42:30 [error] 106#0: \*2 directory index of “/app/bedrock/” is forbidden, client: 172.17.0.1, server: , request: “GET / HTTP/1.0”, host: “rodneyco.local”

Any suggestions would be super helpful.

---

## Post 2 by @strarsis — 2020-07-25T21:26:06Z

1. Bedrock dependencies installed (`composer install`)?+
2. Updated dotenv dependency?

---

## Post 3 by @system — 2020-09-05T20:17:10Z

This topic was automatically closed after 42 days. New replies are no longer allowed.
