-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
The environment variable must already exist, and must be set to the handle of an existing filesystem. |
Beta Was this translation helpful? Give feedback.
-
Ok... for those who might have the same problem, my problem was caused because of how Dotenv is initialized in the craft starter project I'm using (https://github.com/CreateSean/craft-starter). |
Beta Was this translation helpful? Give feedback.
Ok... for those who might have the same problem, my problem was caused because of how Dotenv is initialized in the craft starter project I'm using (https://github.com/CreateSean/craft-starter).
I've solved it by changing both the
craft
andindex.php
files fromDotenv\Dotenv::create(CRAFT_BASE_PATH)->load();
to
Dotenv\Dotenv::create(CRAFT_BASE_PATH)->overload();
Related with #3993 (comment)