Roots Discourse

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

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

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:, server: , request: “GET / HTTP/1.0”, host: “rodneyco.local”

Any suggestions would be super helpful.

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

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